Farz0l1x

Untitled

Feb 24th, 2023
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.20 KB | None | 0 0
  1. count = 0
  2. for x in range(0, 100):
  3.     for y in range(-100, 100):
  4.         if y - x < 0 and y + x > 0 and y + x - (55 * 2**0.5) < 0 and y - x + (55 * 2**0.5) > 0:
  5.             count += 1
  6. print(count)
Advertisement
Add Comment
Please, Sign In to add comment