Question · Python course · Module 1: Python Basics

The elif Keyword

What is elif used for?

Answer options

  • It ends the program
  • It checks the next condition when the previous was False
  • It repeats code
  • It defines a function
Show the answer

Correct answer:

  • It checks the next condition when the previous was False