def random(low,up = None): if type(low) not in [int,float]: return low[randint(0,len(low)-1)] return triangular(low,up)