>>> import random >>> random.choice(['foo', 'bar', 'baz']) 'baz'