結果 : check if number is perfect square python