Advertisement
namemkazaza

17

Feb 9th, 2021
484
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1. a, b, c, x = map(int, input().split())
  2. if x > 30:
  3.     print((x - a) / (x - b))
  4. if 7 <= x <= 30:
  5.     print(0)
  6. if x < 7:
  7.     print(x ** c)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement