Advertisement
nq1s788

15 x и y

Apr 16th, 2025
297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.24 KB | None | 0 0
  1. cnt = 0
  2. for a in range(-100, 100):
  3.     f = True
  4.     for x in range(100):
  5.         for y in range(100):
  6.             if not (((x < 6) <= (x**2 < a)) and ((y**2 <= a) <= (y <= 6))):
  7.                 f = False
  8.     if f:
  9.         cnt += 1
  10. print(cnt)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement