Difference between revisions of "Testing"


Line 13: Line 13:
  
 
SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace
 
SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace
 +
 +
<pre>
 +
# code - http://rosettacode.org/wiki/Evolutionary_algorithm
 +
 +
from string import letters
 +
from random import choice, random
 +
 +
target  = list("METHINKS IT IS LIKE A WEASEL")
 +
charset = letters + ' '
 +
parent  = [choice(charset) for _ in range(len(target))]
 +
minmutaterate  = .09
 +
C = range(100)
 +
</pre>
 +
 +
<code>
 +
# code - http://rosettacode.org/wiki/Evolutionary_algorithm
 +
 +
from string import letters
 +
from random import choice, random
 +
 +
target  = list("METHINKS IT IS LIKE A WEASEL")
 +
charset = letters + ' '
 +
parent  = [choice(charset) for _ in range(len(target))]
 +
minmutaterate  = .09
 +
C = range(100)
 +
</code>

Revision as of 20:06, 15 August 2019

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​​​​


Mono

SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace

# code - http://rosettacode.org/wiki/Evolutionary_algorithm

from string import letters
from random import choice, random
 
target  = list("METHINKS IT IS LIKE A WEASEL")
charset = letters + ' '
parent  = [choice(charset) for _ in range(len(target))]
minmutaterate  = .09
C = range(100)

  1. code - http://rosettacode.org/wiki/Evolutionary_algorithm

from string import letters from random import choice, random

target = list("METHINKS IT IS LIKE A WEASEL") charset = letters + ' ' parent = [choice(charset) for _ in range(len(target))] minmutaterate = .09 C = range(100)