Browse Source

whitespace cleanup

master
Dimitri Merejkowsky 5 years ago
parent
commit
f33d106384
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      sources/hangman/scores.py

+ 4
- 4
sources/hangman/scores.py View File

@@ -27,11 +27,11 @@ def register_score(scores, name, new_score):
# Mise à jour des tableaux des scores # Mise à jour des tableaux des scores
# Et écriture dans un fichier # Et écriture dans un fichier
scores[name] = new_score scores[name] = new_score
with open("scores.txt", "w") as file: with open("scores.txt", "w") as file:
file.write(convert(scores)) file.write(convert(scores))
def main(): def main():
scores = parse_scores() scores = parse_scores()
name = input("nom: ") name = input("nom: ")
@@ -40,4 +40,4 @@ def main():
print_scores(scores) print_scores(scores)




main()
main()