I want to have multiple variables that are set to random elements in the list. Right now I'm doing it somewhat like this:
from random import choice
list = ["a", "b"]
foo = choice(list)
bar = choice(list)
baz = choice(list) #etc.
I'm sure there is a better way to do this. I tried
foo = bar = baz = choice(list)
but, of course it just sets them all to a single element of the list choosen once by random, and I want each variable to be set to new random.choice.