Advertisement
Guest User

Untitled

a guest
May 22nd, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. #collect users name
  2. userName = input ('Hello! Welcome to Mad Libs! \nWhat is your name?')
  3. #collect a name
  4. name = input ('What is a name of one of your friends?')
  5. #collect a noun
  6. noun = input ('Please give me a "noun"')
  7. #collect and adjective
  8. adjective = input ('Please give me a "adjective"')
  9. #collect an adjective
  10. adjective2 = input ('Please give me another "adjective"')
  11. #collect an adjective
  12. adjective3 = input ('...and another "adjective"')
  13. #collect a verb
  14. verb = input ('Please give me a "verb"')
  15. #collect an adjective
  16. adjective4 = input ('An "adjective" again please')
  17. #collect an adjective
  18. adjective5 = input ('last "adjective" I promise!')
  19. #Read story
  20. print ('Dear' + name )
  21. print( 'Thanks for being the greatest ' + noun + ' in my life.')
  22. print('Your' + adjective + ',' + adjective2 + 'and' + adjective3 + 'makes me' + verb + 'every single day.')
  23. print ('I am' + adjective4 + ' beacause I know you, and the world is' + adjective5 + ' with you in it.')
  24. print('Love,')
  25. print(userName)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement