Python Python Basics (2015) Logic in Python Conditional Value

Maryan Tuzyak
Maryan Tuzyak
1,326 Points

conditions statement quiz in python basics

I'm going to create a variable named age. I need you to make an if condition that sets admitted to True if age is 13 or more. i don't understand how to do this need some help

conditions.py
admitted = None
if age > 13:
    print('age is over 13')

1 Answer

Steven Parker
Steven Parker
150,100 Points

The challenge wants you to create code that "sets admitted to True". You won't need to "print" anything.