結果 : check if perfect square python