Python Programming - Conditional Statements - Discussion
Discussion Forum : Conditional Statements - General Questions (Q.No. 17)
17.
What does the
pass
statement do in an if
block?
Answer: Option
Explanation:
The
pass
statement in an if
block is used as a placeholder for an empty code block, ensuring there is no syntax error.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers