a guest Apr 16th, 2018 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- #practice pr. 1
- name = input('What is your name: ')
- print ('your name is ', name)
- age = int(input('How old are you? '))
- print ('You are ', age, 'years old.')
- year = 2018 + (100-age)
- turn_one_hundred = "You will turn 100 in " + str(year) + '.' "\n"
- print (turn_one_hundred)
- joke = int(input ('What is your favorite number?'))
- print (joke * turn_one_hundred)
RAW Paste Data