jeudi 9 juillet 2020

I'm trying to create a program in python that takes the input the user gives and tells them if they're underage or not [duplicate]

I'm new to python and this is what i came up with, it does not work.

age = input("How old are you? ")

if age < 18
    print("You are under age.")
else
    print("You are over age")

Thanks.

Aucun commentaire:

Enregistrer un commentaire