def test1(x, y, z):
print(x)
print(y)
print(z)
test1(1, 2, 3)
test1(1, z=3, y=2)
test1(1, 2, y=3)
def test2(*args):
print(args)
test2(1, 2, 3, 4, 5)
test2(*[1, 2, 3, 4, 5, 6])
def test3(**kwargs):
print(kwargs)
print(kwargs['name'])
print(kwargs['age'])
print(kwargs['sex'])
test3(name='Jim', age=18, sex='femal')
test3(**{'name': 'Jim', 'age': 18, 'sex': 'femal'})
def test4(name, age=18, *args, **kwargs):
print(kwargs)
print(name)
print(age)
print(args)
print(kwargs['sex'])
test4('Jim', 19, 'tesla', 'red', sex='femal')