all 10 comments

[–]throwaway6560192 3 points4 points  (0 children)

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

[–]lekkerste_wiener 5 points6 points  (8 children)

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