Podcast Beta
Questions and Answers
What is the format of the while statement in Python?
while condition: block of codes
What does the while statement do in Python?
repeatedly performs the block of codes as long as the condition is true
What is the value of n after the code snippet 'n = 5 i = 1 while i < n: print(i)' is executed?
5