0
Im trying to make an Age verification function but i got ERORR
age = str(input()) if age < 12: print("You are not eligible for the app") else: print("You are eligible")
3 Respostas
+ 5
age=int(input())
+ 2
Your "age" variable is a string – it needs to be integer if you want to compare it to 12
0
Thanks Prabhas Koya