I am working on this code.
Number=int(input("Enter: ")
for x in Number:
if Number is x*x:
print("It's a perfect square!")
else:
print("It's not a perfect square")
I got an invalid syntax error on the colons and the print when I run the code.Can somebody tell me what's wrong with it?