picks = (44, -17, 253)
for i, x in enumerate(picks):
if x > 0:
print(i, x, end=" ")
- How many times the loop runs?
- What is printed on the screen?
sci_fi = ("Interstellar",
"Coherence", "Blade Runner")
a = 0
z = len(sci_fi) - 1
while a <= z:
print(sci_fi[a])
a += 3
print(a)