結果 : square and cube of a number in python