Problem 1: --------- Line 1 10 15 Line 2 10 14 Line 2 11 13 Line 2 12 12 Problem 2: --------- 12 21 30 --- 20 32 --- 30 45 --- Problem 3: --------- 10 12 12 14 14 16 16 18 18 Problem 4: --------- 15 70 15 50 45 100 45 80 75 130 75 110 Problem 5: --------- 64 40 24 40 24 16 8 16 8 8 Problem 6: --------- 24 2 3 6 Problem 7: --------- 1 3 5 1 5 1 Problem 8: --------- (i) (ii) (a) variable count is not defined and initialized run-time error (b) colon (:) is missing after while in third line syntax error (c) last line count = count +1 should be inside while loop semantic error (d) count = count +1 should come after print statement semantic error (e) variable count is inside string semantic error Correct Solution : n = int(raw_input("Enter a number: ")) count = 1 while count <= n: print "The square of", count, "is", count*count count = count + 1 Problem 9: --------- value = 1, type = int