filmov
tv
Write a program to read your name and age and write to display the year in which you will turn 100.
![preview_player](https://i.ytimg.com/vi/Zeu4a5-Dv_I/maxresdefault.jpg)
Показать описание
Write a program to read your name and age and write a program to display the year in which you will turn 100.
Code:
name=input("enter your name")
age=int(input("enter your age"))
print(name)
print(age)
y=2023-age
x=y+100
print("you will be 100 in the year")
print(x)
Code:
name=input("enter your name")
age=int(input("enter your age"))
print(name)
print(age)
y=2023-age
x=y+100
print("you will be 100 in the year")
print(x)