fork download
  1. x=int(input())
  2. if -2<=x<=-30:
  3. print("Да")
  4. if 7<=x<=25:
  5. print("Да")
  6. else:
  7. print("Нет")
Success #stdin #stdout 0.04s 9776KB
stdin
-29
stdout
Нет