add sinonims for dickup test done
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pavel_Duron
2022-12-16 22:16:21 +10:00
parent 157833e41a
commit 9c91fc5420
5 changed files with 14 additions and 13 deletions

View File

@@ -1,13 +1,12 @@
import random
def RandomDick():
with open('tests\diction.txt', 'r', encoding='utf-8') as file:
with open('dicktxt\dick_sinonims.txt', 'r', encoding='utf-8') as file:
words = file.readlines()
random_line = random.choice(words).strip()
return random_line
random_line = RandomDick()

View File

@@ -0,0 +1 @@
from . import ForReadDict

View File

@@ -73,4 +73,4 @@
торчильник
факало
кочанчик
усатая
пипису