Farz0l1x

Untitled

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