ソースを参照

Rename noms.txt -> pendu.txt

master
Dimitri Merejkowsky 5年前
コミット
c714de4191
2個のファイルの変更3行の追加3行の削除
  1. +3
    -3
      sources/04-pendu.py
  2. +0
    -0
      sources/pendu.txt

+ 3
- 3
sources/04-pendu.py ファイルの表示

@@ -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 ファイルの表示