I'm new to python, so I'm having trouble with something that I think is easy, but I'm not getting anywhere.
I basically want to find the square root of a number, and if its a perfect square, print it.
this is a rough estimate of what I'm trying to do.
import random
import math
x = int(random.randint(0, 100000)
y = int(math.sqrt(x)
if y == int:
print(y)