Created a program random words with a list.
When I run the program it will output duplicated items. How do I prevent that. Is there a special command to prevent that?
import random
# random choice from a list
for i in range(6):
print random.choice (["abacus", "biology", "chemistry", "dog", elf", "ghost"])