0
Printing an input that is not int()
I am trying to get an input of a name and print it with a general statement. age = input(int()) name = input() if age >= 21: print("Welcome " name) else: print("Sorry") this is what I have and it keeps coming up with a syntax at name in the code
3 Respuestas
+ 3
The error is actually in the first line. It should be
age = int(input())
+ 3
And your first print statement is missing a plus sign.
+ 1
thank you