Guest User

Untitled

a guest
Sep 2nd, 2014
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. monday = "first day of week"
  2. tuesday = "second day of week"
  3. wednesday = "third day of week"
  4. thursday = "fourth day of week"
  5. friday = "fifth day of week"
  6. saturday = "sixht day of week"
  7. sunday = "seventh day of week"
  8.  
  9.  
  10.  
  11.  
  12. g = input("What day are you leaving on?? ")
  13.  
  14.  
  15.  
  16. if g == "monday" or "on monday" or "ON MONDAY" or "on Monday":
  17. print("That is a ", monday)
  18.  
  19. elif g == "tuesday" or "on tuesday" or "ON TUESDAY" or "on Tuesday":
  20. print("That is a ", tuesday)
  21.  
  22. elif g == "wednesday" or "on wednesday" or "ON WEDNESDAY" or "on Wednesday":
  23. print("That is a ", wednesday)
  24.  
  25. elif g == "thursday" or "on thursday" or "ON THRUSDAY" or "on Thursday":
  26. print("That is a ", thursday)
  27.  
  28. elif g == "friday" or "on friday" or "ON FRIDAY" or "on Friday":
  29. print("That is a ", friday)
  30.  
  31. elif g == "saturday" or "on saturday" or "ON SATURDAY" or "on Saturday":
  32. print("That is a ", saturday)
  33.  
  34. elif g == "sunday" or "on sunday" or "ON SUNDAY" or "on Saturday":
  35. print("That is a ", sunday)
  36.  
  37.  
  38. input("PRESS ENTER TO CLOSE: ")
Advertisement
Add Comment
Please, Sign In to add comment