Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- name = input('Enter your name: ')
- age = int(input('Enter your age: '))
- times = int(input('How many times do you need this to be repeated? '))
- anniversary = str(2017 + (100 - age))
- message = 'Hey, ' + name + '! You will be 100 in ' + anniversary + '. \n'
- print(message*times)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement