ch04
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
# arguments.unpack.iterable.py
|
||||
def func(a, b, c):
|
||||
print(a, b, c)
|
||||
|
||||
values = (1, 3, -7)
|
||||
func(*values) # equivalent to: func(1, 3, -7)
|
||||
Reference in New Issue
Block a user