Lets say I wanted to generate a random number in python using something like random.randint(1,100)
but how would I go about making Python want to tend toward selecting higher random numbers? So like if i wanted 80% of numbers above 50 to be chosen with 20% of numbers below 50 to be chosen. like a casino slot machine probability. (we all know there not truly random but are set with probability).
I have tried
import random
random.randint(1,100)
select % above 50