Easy problems solved on 2024-11-12
This commit is contained in:
11
whichnumberkindisit2.py
Normal file
11
whichnumberkindisit2.py
Normal file
@@ -0,0 +1,11 @@
|
||||
t = int(input())
|
||||
for _ in range(t):
|
||||
n = int(input())
|
||||
out = ""
|
||||
if n % 2 == 1:
|
||||
out = "O"
|
||||
if (n**0.5) % 1 == 0:
|
||||
out += "S"
|
||||
if out == "":
|
||||
out = "EMPTY"
|
||||
print(out)
|
||||
Reference in New Issue
Block a user