소스 검색

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 파일 보기