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)