Question · Python course · Module 1: Python Basics

if Syntax

What do we put at the end of the if condition line?

Answer options

  • A semicolon ;
  • A colon :
  • A comma ,
  • A parenthesis )
Show the answer

Correct answer:

  • A colon :