Hi i am trying to inplememt Genetic algorithm rollete wheel selection mechanism. I have done fitness and also the corresponding fitness probability. I need a code to randomly select rows from initial generated matrix.but only using scratch python bc i am not using any libary such as numpy or jupyter
Same like this one but without numpy
Select two random rows from numpy array
Thank you