Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. def main():
  2.  
  3. question = input("\nEnter State: ").upper()
  4.  
  5. if question in East and question in multiple_timezone_states:
  6. print("\nEast: Hudson")
  7. state_reenter()
  8. elif question in East and question not in multiple_timezone_states:
  9. print("\nEast: Hudson")
  10. print("\nTimezone: " + timezones[question])
  11. elif question in West and question in multiple_timezone_states:
  12. print("\nWest: Rochelle")
  13. state_reenter()
  14. elif question in West and question not in multiple_timezone_states:
  15. print("\nWest: Rochelle")
  16. print("\nTimezone: " + timezones[question])
  17. else:
  18. print("\nCannot find state, check entry and try again")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement