×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Python
Posted by: Pavel Evtikhov
Added: Mar 19, 2022 6:58 PM
Modified: Mar 19, 2022 6:58 PM
Views: 403
Tags: no tags
  1.     with open(STATISTICS_FILE_NAME, 'w') as file:
  2.         json.dump(statistics, file)  # перезаписываем статистику игры в файл