Browse Source

Rename noms.txt -> pendu.txt

master
Dimitri Merejkowsky 5 years ago
parent
commit
c714de4191
2 changed files with 3 additions and 3 deletions
  1. +3
    -3
      sources/04-pendu.py
  2. +0
    -0
      sources/pendu.txt

+ 3
- 3
sources/04-pendu.py View File

@@ -2,9 +2,9 @@ import random


def read_words():
stream = open("noms.txt")
contents = stream.read()
stream.close()
file = open("pendu.txt")
contents = file.read()
file.close()
words = contents.splitlines()
return words



sources/noms.txt → sources/pendu.txt View File