Advertisement
dmemsm

Задача 1

Apr 13th, 2025
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.28 KB | None | 0 0
  1. x, b = map(int, input().split())
  2.  
  3. t = x / b
  4.  
  5. if t == 0 or t == 1 or t == 2:
  6.     print("sin = 0")
  7. elif 0 < t < 1:
  8.     print("sin > 0")
  9. else:
  10.     print("sin < 0")
  11.  
  12. if t == 0.5 or t == 1.5:
  13.     print("cos = 0")
  14. elif 0.5 < t < 1.5:
  15.     print("cos < 0")
  16. else:
  17.     print("cos > 0")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement