Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
import random mylist = ["apple", "banana", "cherry"] print(random.choices(mylist, weights = [10, 1, 1], k = 14))