jeudi 3 octobre 2019

Why isn't my elif statement not accepting my int?

Simply practicing beginner python if/elif/else statements. I cannot get line 7 to pass.

name = input("What is your name? ")
age = int(input("What is your age? "))
if name == "Justin":
  print("Hi Justin!")
else:
  print("You're not the right customer, bub!")
elif age == 28
  print("That's your age!")
else: 
  print("You're an imposter!")

Aucun commentaire:

Enregistrer un commentaire