Functions
7 / 20
EasyOutput prediction

Unpacking into function call

What does this code print?

def add(a, b, c):
    return a + b + c

nums = [1, 2, 3]
print(add(*nums))

← → arrow keys to navigate

Sign in to save your progress.

Unpacking into function call - Python Functions Quiz | Unnested