how to print random element of an array in python 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))