Python Python Basics (2015) Logic in Python Conditional Value

Isaiah Jackson
Isaiah Jackson
6,263 Points

Stuck on this Python question.

Not sure how to answer this question.

conditions.py
admitted = None
if age >= 13
    admitted = true

1 Answer

Richard Hall
Richard Hall
9,139 Points
admitted = None
if age >= 13:
    admitted = True

When doing 'if' statements in Python, you need to include a colon at the end of if age >= 13