Question: python is used 1. Write exactly what is printed by each piece of code below. (a) i - 10 (c) for x in range (3):
1. Write exactly what is printed by each piece of code below. (a) i - 10 (c) for x in range (3): while i > 0: for y in range (2, 7, 2): print (i) print(x, y) i = 35 - 2* i (d) a = 2 while True : b = 3 * a - 1 print(b) while i >= 0: if b - a > 10: print (i) break i = i // 2 - 1 (b) i - 14 a = b
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
