Difference between revisions of "Testing"


Line 39: Line 39:
 
C = range(100)
 
C = range(100)
 
</code></html>
 
</code></html>
 +
 +
 +
<syntaxhighlight lang="Python" line='line'>
 +
def quickSort(arr):
 +
less = []
 +
pivotList = []
 +
more = []
 +
if len(arr) <= 1:
 +
return arr
 +
else:
 +
pass
 +
</syntaxhighlight>

Revision as of 20:15, 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)

# 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 def quickSort(arr):
2 	less = []
3 	pivotList = []
4 	more = []
5 	if len(arr) <= 1:
6 		return arr
7 	else:
8 		pass