Advertisement
Guest User

Untitled

a guest
Nov 20th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.26 KB | None | 0 0
  1. x = int(input("Enter X: "))
  2. if x>=1 and x<=5:
  3.     print("Рабочий день")
  4. else:
  5.     if x == 6:
  6.         print("Суббота")
  7.     else:
  8.         if x == 7:
  9.             print("Воскресенье")
  10.         else:
  11.             print("Ошибка!!!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement