Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
What is the output of the following program?
i = 2while i < 2: print(i) i += 1print("end of loop")
i = 2
while i < 2:
print(i)
i += 1
print("end of loop")
01end of loop
0
1
end of loop
2end of loop
2
012end of loop
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!