What is the purpose of the if statement in Python?
To define a function
To declare a variable
To execute a block of code conditionally
To create a loop
This question is part of this quiz :