def demo(*args, **kwargs):

    print(args)
    print(kwargs)

# 元组变量/字典变量
gl_nums = (1, 2, 3)
gl_dict = {"name":"小明","age":18}

# 拆包语法，简化元组变量/字典变量的传递
demo(*gl_nums,**gl_dict)

ede4c4ee86df7bdce0f7a8bd324e030a4ce34405
<mask token>

def demo(*args, **kwargs):
    print(args)
    print(kwargs)


<mask token>

def demo(*args, **kwargs):
    print(args)
    print(kwargs)


<mask token>
demo(*gl_nums, **gl_dict)

def demo(*args, **kwargs):
    print(args)
    print(kwargs)


gl_nums = 1, 2, 3
gl_dict = {'name': '小明', 'age': 18}
demo(*gl_nums, **gl_dict)

def demo(*args, **kwargs):

    print(args)
    print(kwargs)

# 元组变量/字典变量
gl_nums = (1, 2, 3)
gl_dict = {"name":"小明","age":18}

# 拆包语法，简化元组变量/字典变量的传递
demo(*gl_nums,**gl_dict)
