Python Programming - Loops - Discussion

Discussion Forum : Loops - General Questions (Q.No. 19)
19.
In Python, what does the pass statement do when used in a loop?
Exits the loop prematurely.
Does nothing and is used as a placeholder.
Repeats the loop indefinitely.
Terminates the program.
Answer: Option
Explanation:
The pass statement does nothing and is used as a placeholder.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.