Python · Functions: Parameters & Scope
``` def my_sum(a, b, c=0, d=0): return a + b + c + d my_sum(*(1, 2), *(3, 4)) my_sum(1, *(2, 3), **{"d": 4}) ``` Are both calls legal, and what do they return?
Answer locked. Get the free KnowCard app to reveal it — plus spaced-repetition review so it actually sticks.
