does random.choice always make a choice python code example
Example 1: how to print a random part of a list in python
import random
foo = ['a', 'b', 'c', 'd', 'e']
print(random.choice(foo))
Example 2: python random list
import random
randomlist = []
for i in range(0,5):
n = random.randint(1,30)
randomlist.append(n)
print(randomlist)