My goal is to have a range of items provide as many outputs as can be had, but without duplicate outputs. The code I've provided is a small sample of what I'm working on. For my larger data set, I notice duplicate outputs plague the CSV file when the script runs so I was wondering if there is a way to keep duplicate outputs from processing while maintaining the high range (100, 250, 400, etc)?
import random
Saying = ["I Like"]
Food = ['Coffee', 'Pineapples', 'Avocado', 'Bacon']
Holiday = ['on the 4th of July', 'on April Fools', 'during Autumn', 'on Christmas']
for x in range(10):
One = random.choice(Saying)
Two = random.choice(Food)
Three = random.choice(Holiday)
print(f'{One} {Two} {Three}')
Thanks for the help!