Question: Loops: Exercise-1: What's the output for the following program? Watch for syntax or other errors. while True: if i%3 == 0: break print(i) Exercise-2: What's

Loops: Exercise-1: What's the output for the following program? Watch for syntax or other errors. while True: if i%3 == 0: break print(i) Exercise-2: What's the output for the following program? Watch for syntax or other errors. i=1 while True: break print (i) i+= 2 Exercise-3: What's the output for the following program? Watch for syntax or other errors. i=1 while False: break print (i)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
