The Dual Nature of the Asterisk (*)
Packing (Defining a function)
def calc_avg(*args):
Unpacking (Calling a function)
calc_area(*bbox)
bbox = [10, 15, 20, 25]
*
10
15
20
25
Click Simulate Asterisk (*) to see the difference between using * in a def statement vs a function call.