Parcourir la source

Rename noms.txt -> pendu.txt

master
Dimitri Merejkowsky il y a 5 ans
Parent
révision
c714de4191
2 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. +3
    -3
      sources/04-pendu.py
  2. +0
    -0
      sources/pendu.txt

+ 3
- 3
sources/04-pendu.py Voir le fichier

@@ -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 Voir le fichier