Преглед изворни кода

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 Прегледај датотеку