daily pastebin goal
60%
SHARE
TWEET

Untitled

a guest Apr 16th, 2018 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #practice pr. 1
  2.  
  3. name = input('What is your name:  ')
  4. print ('your name is ', name)
  5.  
  6.  
  7. age = int(input('How old are you?  '))
  8.  
  9. print ('You are ', age, 'years old.')
  10.  
  11. year = 2018 + (100-age)
  12.  
  13. turn_one_hundred = "You will turn 100 in " + str(year) + '.' "\n"
  14.  
  15. print (turn_one_hundred)
  16.  
  17. joke = int(input ('What is your favorite number?'))
  18.  
  19. print (joke * turn_one_hundred)
RAW Paste Data
Top