May-09-2019, 08:21 AM
Thank you very much for your solution! I didn't put 'if is equal to N' because sometimes in chromosomes you can find also other letters like R or M. Your code is really simple and efficient!
Replace a list or string element with a random one..
|
|
Messages In This Thread |
Replace a list or string element with a random one.. - by pianistseb - May-09-2019, 08:03 AM
RE: Replace a list or string element with a random one.. - by buran - May-09-2019, 08:17 AM
RE: Replace a list or string element with a random one.. - by pianistseb - May-09-2019, 08:21 AM
RE: Replace a list or string element with a random one.. - by buran - May-09-2019, 08:24 AM
|