I would like to define a function with one argument from a function with two arguments by fixing one of those. For example, let's say I have this function defined:
f(a,b):
return a*(b+1)
and I want to define a function g that does the same as f but with the first argument fixed to the number 3. It would be like doing
g = f(a=3)
but in a right way, such that for example g(2) returns 9 (3*(2+1)=9).