結果 : condition for perfect square in python