Multiple choice

if, else and elif are what type of statements?

  1. Loops

  2. Selection

  3. Iteration

  4. Procudure

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Selection statements (also known as conditional statements) allow a program to choose different paths of execution based on whether a condition is true or false.