For this Question: Given a number N, your task is to find if it is a perfect square or not.The first line of input contains the number of test cases T, the next T lines contains a single integer N.

<b>Constraints:</b>
1 < = T < = 1000
1 < = N < = 10<sup>12</sup>For each test case, print "YES" if the number N is a perfect square else print "NO".Sample Input:-
2
625
624

Sample Output:-
YES
NO, I have written this Solution Code: import math
cases=int(input(""))
for case in range(cases):
	n=int(input())
	if math.sqrt(n) % 1 == 0:print("YES")
	else:print("NO"), In this Programming Language: Python, Now tell me if this Code is compilable or not?