formulas to figure out if a number is a square in python code example Example: python num perfect squares print(int(int(n)**.5))