Testing


Futura PT

Turkish

A B C D E F G H I J K L M N O P R S T U V Y Z a b c d e f g h i j k l m n o p r s t u v y z Ç ç Ğ ğ İ ı Ö ö Ş ş Ü ü

English

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z​​​​


Code with syntaxhighlight

 1 # code - http://rosettacode.org/wiki/Evolutionary_algorithm
 2 
 3 from string import letters
 4 from random import choice, random
 5  
 6   target  = list("METHINKS IT IS LIKE A WEASEL")
 7   charset = letters + ' '
 8   parent  = [choice(charset) for _ in range(len(target))]
 9   minmutaterate  = .09
10   C = range(100)