desislava_topuzakova

01. Day of Week

Feb 21st, 2021
654
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # число -> вход
  2. number = int(input())
  3.  
  4. if number == 1:
  5.     print('Monday')
  6. elif number == 2:
  7.     print('Tuesday')
  8. elif number == 3:
  9.     print('Wednesday')
  10. elif number == 4:
  11.     print("Thursday")
  12. elif number == 5:
  13.     print('Friday')
  14. elif number == 6:
  15.     print('Saturday')
  16. elif number == 7:
  17.     print('Sunday')
  18. else:
  19.     print('Error')
RAW Paste Data