I am trying to write a decorator accepting a probability as an argument with the syntax:
@random(0.5) def func1():
so the probability indicates how likely is t