diff --git a/commands.py b/commands.py index 3b0f955..2b7ef9e 100644 --- a/commands.py +++ b/commands.py @@ -27,7 +27,7 @@ def show(): def get_word(): words=read() - i=randint(0,len(words)) + i=randint(0,len(words)-1) word=words[i] print(word[0]+"\t"+word[1]+"\t") diff --git a/demo.mp4 b/demo.mp4 new file mode 100644 index 0000000..25b5895 Binary files /dev/null and b/demo.mp4 differ diff --git a/word.py b/word.py index 5001276..2172ede 100644 --- a/word.py +++ b/word.py @@ -1 +1,2 @@ from include import * +