From 22b20ec00c4b19617dc9ac1b99f9d9f2f46f3029 Mon Sep 17 00:00:00 2001 From: Muhammad Nauman Raza Date: Wed, 15 Jan 2025 13:37:37 +0000 Subject: [PATCH] solutions: 270A --- solutions/python/270A.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 solutions/python/270A.py diff --git a/solutions/python/270A.py b/solutions/python/270A.py new file mode 100644 index 0000000..42b1882 --- /dev/null +++ b/solutions/python/270A.py @@ -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")