Mar-26-2020, 08:54 AM
i have this code, and for some reason the compiler sees the input() of (what's your age) as string, instead of integer.
what to do ?
i appreciate your help !
Tal
what to do ?
i appreciate your help !
Tal
print('Hi mate, what is your name ?') Name = input() print('Hello ' + Name + ' its nice to meet you') print('what is your age ?') Age = input(int) if ((Age >= 60) and (Age < 70)): print('I see you are in your 60s, thats a very good age to be, lots of wisdom') else: print('your age is not within the paramaters')