Back to quizzes
Conditional Statements Quiz
Java / Loops | Medium | 15 questions
Question 1 of 15
4 free questions left
What does the 'if' statement do in Python?
A
Executes a block of code if a condition is true
B
Always executes the block of code
C
Defines a function
D
eclares a variable