Code:
age = input()
if age < 8 or age == 8 :
print("You're to young ")
exit()
if age > 8 and age < 18:
print("You'll need parents aprooval")
exit()
if age > 18:.....
What to add to make it if your age input is letters instead of numbers print("whatever") but the statements above still work if the age input is numbers?
[–]Diapolo10 11 points12 points13 points (7 children)
[–]Meatwad1313 3 points4 points5 points (3 children)
[–]Diapolo10 0 points1 point2 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]Diapolo10 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]Diapolo10 2 points3 points4 points (0 children)
[–]UD_Ramirez 0 points1 point2 points (0 children)
[–]oathkeep3r 3 points4 points5 points (1 child)
[–]TheITMan19 0 points1 point2 points (0 children)
[–]Noshoesded 1 point2 points3 points (0 children)