Sfoglia il codice sorgente

whitespace cleanup

master
Dimitri Merejkowsky 5 anni fa
parent
commit
f33d106384
1 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. +4
    -4
      sources/hangman/scores.py

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

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


main()
main()