pick up an element randomly from list code example
Example: how to print a random part of a list in python
import random
foo = ['a', 'b', 'c', 'd', 'e']
print(random.choice(foo))
import random
foo = ['a', 'b', 'c', 'd', 'e']
print(random.choice(foo))