01 / 07
Separate them with commas
A function is not limited to one catching name. Separate them with commas and you can catch as many as you like.
You write the call the same way. The first value goes into the first name, the second into the second.
def add(a, b): return a + bprint(add(2, 3))print(add(100, 250))Result
5 350