0
WHAT is the output of birth_year = input("what is ur birthyear? ") age= 2021 - birth_year print(age)
For beginners like me :)
3 Answers
+ 2
Why insert ??
birth_year = int(input())
https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2426/?ref=app
0
Read this after u try the question!
The answer is error why?
b/c we need to add an int. function before birthyear
Cuz we cant substract float and int.
0
YE input my bad!