Check your understanding of the previous reading: the parts of an if statement, valid conditionals, and event handling.
What are the two main components of an if statement?
Select one answer, then check.
if keyword) and the body.Which of the following is NOT a valid conditional?
Select one answer, then check.
if keyword; if x = 5: is a syntax error.False.