As @notimetoplay says, it's best if you show some code, but one way to select a random item within a list is with "choice"
import random foo = ['a', 'b', 'c', 'd', 'e'] print(random.choice(foo))