Added first EVI 2018 files.

This commit is contained in:
2018-11-26 22:47:22 -04:00
parent 2b5fb28780
commit 64a907c835
21 changed files with 8159 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
import random as r
def qsort(l):
if len(l) == 0:
return []
elif len(l) == 1:
return l
else:
less = qsort([x for x in l[1:] if x <= l[0]])
more = qsort([x for x in l[1:] if x > l[0]])
return less + [l[0]] + more
a = [r.randint(0, 100) for x in xrange(100)]
b = qsort(a)
print a
print b