Top | 50 Python Control Flow & Conditional Logic quiz | Question 5

Last Updated :
Discuss
Comments

What is the purpose of the elif statement in Python?

To handle exceptions

To create a loop

To define a function

To check additional conditions after the initial if statement

Share your thoughts in the comments