def is_square(n): for i in range(n): print(i) if i*i == n: return True else: continue print(is_square(4))