'''a = 8 b = 7 print("Computer program that give me all the combinations of a and b:") print("a = ", a) print("b = ", b) c = a * 10 + b d = a + b * 10 e = a * 10 + a f = b * 10 + b print("But actually there is no d in the problem") print("Then tell my classmates the answer!") print("The answer is: ") print(c,d, e, f) print("{Chapter 2}") print("Then the next is: [Use numbers 7,8,9]")''' aun = [ 7 , 8 , 9 ] for i in aun: for j in aun: ans = i * 10 + j print (ans) print ( "Then the next is: [Use numbers 1, 2, 5, 3]" ) aun = [ 0 , 1 , 2 , 5 , 4 ] for i in aun: print (i) for i in aun: for j in aun: ans = i * 10 + j print (ans) for i in aun: for j in aun: for k in aun: ans = i * 100 + j * 10 + k ...
Great books you can read from darrenPurple anytime! You can also download Fish Club that darren- also created! And it also has all the books in there! -www.FishClub.net