結果 : how to write sample code in python