solutions: 270A
This commit is contained in:
parent
bb90dfe5b7
commit
22b20ec00c
1 changed files with 11 additions and 0 deletions
11
solutions/python/270A.py
Normal file
11
solutions/python/270A.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
import sys
|
||||
|
||||
t = int(input())
|
||||
|
||||
for _ in range(t):
|
||||
a = int(input())
|
||||
exterior = 180-a
|
||||
if 360 % exterior == 0:
|
||||
print("YES")
|
||||
else:
|
||||
print("NO")
|
Loading…
Reference in a new issue