diff --git a/words.py b/words.py index b2eb88a..75c2e09 100755 --- a/words.py +++ b/words.py @@ -7,7 +7,7 @@ # a random set of SET words, made up of no # more than MAX_LETTERS -SET=25 +SET=3 MAX_LETTERS=4 RESULTS = [] @@ -18,8 +18,8 @@ RESULTS.append(line.strip()) random.shuffle(RESULTS) - -for word in RESULTS: +TEST_SET = RESULTS[len(RESULTS)-SET:] +for word in TEST_SET: subprocess.run(["./morse.py", word]) f.close() \ No newline at end of file