I have this function:
def fun(arg1=1, arg2=2, arg3=3, arg4=4)
Now if I want to call fun with arg1=8 then I will do this:
fun(8)
and if I want to call it with arg1 = 8 and arg2 = 9 then I think this will do (correct me if I am wrong):
fun(8,9) # LINE2
How to call fun if I want to call it with the fourth argument = 10, without passing other argument values (let another argument have default valued)?
You just have to reference the specific argument(s) by name.