Skip to the content.

3.6_hacks_ipynb_2_

statement1 = "Hello, world!"
statement2 = "Hello, world!"

def check_statements():
    print("The statements are equal!")

if statement1 == statement2:
    check_statements()  # Check to see if statements are equal
The statements are equal!
age = int(input("16")) #Enter your age (I am 16)

if 3 <= age <= 12:
    print("Child")
elif 13 <= age <= 17:
    print("Teenager")
else:
    print("Adult")
Teenager