Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- #dlab
- months = [
- 'January',
- 'February',
- 'March',
- 'April',
- 'May',
- 'June',
- 'July',
- 'August',
- 'September'
- 'October',
- 'November',
- 'December'
- ]
- usersmonth = raw_input("\nWhat month is it? : ")
- if usersmonth in months[11] or months[0] or months[1]:
- print "Enjoy your winter!"
- if usersmonth in months[8] or months[9] or months[10]:
- print "Be sure to take pictures of the leaves!"
- if usersmonth in months[5] or months[6] or months[7]:
- print "Have fun bathing in the sun!"
- if usersmonth in months[2] or months[3] or months[4]:
- print "Go to the park and watch the flowers sprout!"
Add Comment
Please, Sign In to add comment