Sobes.tech
Junior — Senior

How to correctly pass a required parameter to a function with *args

livecode

Task condition

It is necessary to call the function, passing a value to the mandatory parameter b, considering that its signature includes an arbitrary set of positional arguments collected through *args.

def foo(*args, b):
    pass
How to correctly pass a required parameter to a… - sobes.tech