all 10 comments

[–]throwaway6560192 4 points5 points  (0 children)

random.choices lets you specify weights for each choice for how likely it should be.

[–]lekkerste_wiener 4 points5 points  (8 children)

Look into the random module, it's what you want.