python how to select a random element from a list in a range code example
Example: how to generate random list in python with specific range
import random
randomlist = []
for i in range(0,5):
n = random.randint(1,30)
randomlist.append(n)
print(randomlist)