Advertisement
cicwak

Untitled

Aug 22nd, 2022
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. if (x ** 2 + y ** 2 < 5) and (x ** 2 - 3 > y) and (0.5 * x - 1 < y): # правый участок
  2. return "Yes"
  3. elif (x ** 2 + y ** 2 > 5) and (x ** 2 - 3 < y) and (0.5 * x - 1 > y): # средний участок
  4. return "Yes"
  5. elif (x ** 2 + y ** 2 < 5) and (x ** 2 - 3 > y) and (0.7 * x - 1 < y): # левый участок
  6. return "Yes"
  7. else:
  8. return "No"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement