Question Detail
Question
What is the correct ending for the condition line of an
if statement in Python syntax, according to the document?
Correct Answer
Option C is the correct answer.
Detailed Explanation
Page 6, 'The 'If' Syntax', under 'The Colon', states: 'Must end with :'. This is a fundamental syntax rule in Python for control flow statements.
Hint
Review the 'The "If" Syntax' slide for specific punctuation requirements.