import random a = [] for i in range(10): a.append(random.randint(1,100)) print a # put code here that sorts array a