27 lines
343 B
Python
27 lines
343 B
Python
def test(a, b, c, d, e, f, g):
|
|
print(f"{a=}, {b=}, {c=}, {d=}, {e=}, {g=}")
|
|
|
|
|
|
params = {
|
|
"a": 1,
|
|
"b": 2,
|
|
"c": 3,
|
|
"d": 4,
|
|
"e": 5,
|
|
"f": 6,
|
|
"g": 7
|
|
}
|
|
test(*params)
|
|
|
|
params = [1, 2, 3, 4, 5, 6, 7]
|
|
test(*params)
|
|
|
|
p1 = []
|
|
p2 = [2, 3, 4, 5, 6, 7, 8]
|
|
test(*p1, *p2)
|
|
|
|
p1 = None
|
|
p2 = [2, 3, 4, 5, 6, 7, 8]
|
|
test(*p1, *p2)
|
|
|