Skip to content

Instantly share code, notes, and snippets.

View 5hirish's full-sized avatar
:octocat:
Crunching the code

Shirish Kadam 5hirish

:octocat:
Crunching the code
View GitHub Profile
#!/usr/bin/python
import random
list = []
for i in xrange(10):
list.append(random.randrange(1,100,1)) #generate a list of ten random numbers between 1 and 100
print "The unsorted list : ",list