summaryrefslogtreecommitdiff
path: root/comp/hw/109/words.py
blob: 516275f968c2c426ed5e9694d7eb6171fdea3d38 (plain)
1
2
3
4
5
6
7
8
import random

words = ["hello", "there", "this", "is", "a", "line"]

for i in range(6):
    word = words[random.randint(0,len(words)-1)]
    print(word)
    words.remove(word)