0

WHAT is the output of birth_year = input("what is ur birthyear? ") age= 2021 - birth_year print(age)

For beginners like me :)

3rd Jan 2021, 9:13 AM
SURAFEL SAM
SURAFEL SAM - avatar
3 Antworten
3rd Jan 2021, 9:20 AM
Alphin K Sajan
Alphin K Sajan - avatar
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.
3rd Jan 2021, 9:16 AM
SURAFEL SAM
SURAFEL SAM - avatar
0
YE input my bad!
3rd Jan 2021, 9:22 AM
SURAFEL SAM
SURAFEL SAM - avatar