結果 : code for small game in python