random.choice(name of list)
import random
choose = ["Egg","Rat","Rabbit","Frog","Human"]
Choosen = random.choice(choose)
print(Choosen)
import random
nums = ['a', 'b', 'c', 'd', 'e']
print(random.choice(nums))
import random
l = [0, 1, 2, 3, 4]
print(random.sample(l, 3))
# [1, 3, 2]
print(type(random.sample(l, 3)))
# <class 'list'>
offsetBiasSample = [randint(-10,10)/100 for i in range(10)]
offsetBias = choice(offsetBiasSample)
index_offsetBias = randint(0,len(oldBiases)-1)
oldBiases[index_offsetBias] = oldBiases[index_offsetBias] + offsetBias