0
Someone should please correct me
num = input("how old are you?:") print(num + " years is your age") if num < 18: print("not allowed")
4 ответов
+ 1
num = int(input(" enter your age: "))
print(str(num) + " years is your age")
if num < 18:
print("not allowed")
0
But 1-17 is an integer...right??