I have used a Highscore Saver system using SHELVE

前端 未结 0 1854
说谎
说谎 2020-11-28 10:11
 print("YOUR_SCORE=> " ,P1.score)
    d = shelve.open(\'score.txt\')  # here you will save the score variable   
    HighscoreStored = d[\'score\']              


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题