Guest User

Untitled

a guest
May 26th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. #!/usr/bin/python
  2. #dlab
  3.  
  4. months = [
  5. 'January',
  6. 'February',
  7. 'March',
  8. 'April',
  9. 'May',
  10. 'June',
  11. 'July',
  12. 'August',
  13. 'September'
  14. 'October',
  15. 'November',
  16. 'December'
  17. ]
  18.  
  19. usersmonth = raw_input("\nWhat month is it? : ")
  20.  
  21. if usersmonth == months[11] or months[0] or months[1]:
  22. print "Enjoy your winter!"
  23.  
  24. if usersmonth == months[8] or months[9] or months[10]:
  25. print "Be sure to take pictures of the leaves!"
  26.  
  27. if usersmonth == months[5] or months[6] or months[7]:
  28. print "Have fun bathing in the sun!"
  29.  
  30. if usersmonth == months[2] or months[3] or months[4]:
  31. print "Go to the park and watch the flowers sprout!"
Add Comment
Please, Sign In to add comment