#type(1) #type(1.0) #type("asdf") #type([1,1.0, "asdf"]) #a = [1,2,3] #b = ["bread", "cheese", "ham"] #c = [a,b] #print c #print c[0] #c[0] = [3,2,1] #print c[0] # 3 in c[0] # [3,2,1] in c #print a + b #print a * 3 #a = range(0,101) #print a[0:11] #print a[:] #print a[: 80] #a[2:99] = ["skip"] #print a #a = [1] #a.append(2) #print a #add all the numbers in a list #a = range(0, 6) #print a #b = 0 #for x in a: # b = b + x #(5+1)*5/2 #groceries = ['cereal', 'dog food', 'milk', 'eggs'] #feed_pets = ['cat','dog', 'fish'] #change_oil = ['porsch', 'golf cart'] #things_to_do = [groceries, feed_pets, change_oil] #print(things_to_do) #things_to_do.sort() #print(things_to_do) #print things_to_do[1] #things_to_do[1].sort() #print things_to_do[1]