Selection - Quiz

1. What Python construct allows you to execute code based on certain conditions?

If statements
For loops
Print statements
While loops

2. What will happen if an 'if' statement's condition is True?

The indented block of code underneath will execute
The program will exit
All code in the program will execute
Nothing will happen

Log in or sign-up to access the quiz



Don't have a login?

You can still revise this topic