Hello,

It’s a simple question, but I cannot figure it out. Say I have a list of values between 1 and 0 and I would like to receive either True or False value based on chance; so that 0,5 would mean a 50% chance of returning True, 0,25 would mean 25% chance of returning True and so on.

Thanks for help!