This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name=input("give me your name: ") | |
print("you entered name is" + name) | |
age= int(input("enter your age:")) | |
age= (2020-age)+100 | |
n=input("how many times u want message output:") | |
n=int(n) | |
print(n*("\nyou need %d years to become 100" %(age))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name=input("give me your name: ") | |
print("you entered name is" + name) | |
age= int(input("enter your age:")) | |
age=100-age | |
n=input("how many times u want message output:") | |
n=int(n) | |
print(n*("\nyou need %d years to become 100" %(age))) |