def rand_for_param_var(): """Generate random number between -1 and 1""" return random.choice([-1, 1]) * rand_in_range(0, 1)