Run »
import random mylist = ["apple", "banana", "cherry"] print(random.choices(mylist, weights = [10, 1, 1], k = 14))