"def isPerfectSquare(x):
s = int(math.sqrt(x))
return s*s == x...."
is only available to registered users. Visit the login page if you have an account. Otherwise visit the registration page to create one.