Syntax error Python Type conversion how do I fix this Line 2 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Syntax error Python Type conversion how do I fix this Line 2

CurrentYear = 2019 year int(input("what year were you born")) if year = int(year) age = CurrentYear - year print("you are turning",age,"This year") else: print("Invalid year")

4th Apr 2019, 1:46 AM
colby moore
1 Answer
4th Apr 2019, 3:04 AM
Arushi Singhania
Arushi Singhania - avatar