python how to make a perfect square function code example Example: python num perfect squares print(int(int(n)**.5))