Python Programming - Conditional Statements - Discussion
Discussion Forum : Conditional Statements - General Questions (Q.No. 2)
2.
Which keyword is used to introduce the
else block in an if-else statement?
Answer: Option
Explanation:
In an
if-else statement, the else keyword is used to define the block of code that should be executed if the condition in the if statement is false.
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