1

Ravi wants to display “Hello”, if the condition is True, otherwise, “Pass” if the condition is False. Which of the following help to implement the same?

Correct Answer: if .. else statement

Make the most of this question

This page focuses on one Python MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

Python MCQs MCQ: Ravi wants to display “Hello”, if the condition is True, otherwise, “Pass” if the condition is False. Which of the following help to implement the same? | Extra Education