def fun_lin(x, a, b=5.0): y = a*x + b return y x_value = 10.0 p0 = 2.5 p1 = 3.0 out = fun_lin(x_value, p0) print('Result = ', out)