random selection from list python 3 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))