python check for square numbers code example Example: python num perfect squares print(int(int(n)**.5))