How would I have a single line of code generate more than one random choice from a chosen list?
btw I do have import random at the top of the code
here is my code:
(R[0] = "RED", O[0] = "ORANGE", etc.)
ColourList = [R[0],O[0],Y[0],G[0],B[0],I[0],V[0]]
ColourSeq = random.choice(ColourList)
print(ColourSeq)
I know at the moment I have only asked it to give me one output, but I would like it to be able to give me four of the items from ColourList in just one line of code.
There can be duplicate outputs.