Percentage chance to make action

前端 未结 3 1708
长情又很酷
长情又很酷 2020-12-13 14:24

Simple problem: percentage_chance = 0.36

if :
   #action here has 36% chance to execute
   pass

How can i solve thi

3条回答
提交回复
热议问题