Parameters of the function

Location parameters (standing in the actual parameter)

1. According to the location

2. Follow keyword

3. Location and keyword mix

The positional parameter must be in front of the keyword parameter, only for a denomination;

Stand in the angle, the positional parameters must pass;

4. Default parameters

4. Dynamic Parameters

*Args summation function applicationdef mysum(*args):
    the_sum = 0
    for i in args:
        the_sum+=i
    return the_sum

the_sum = mysum(1,2,3,4)
print(the_sum)

**Kwargs applicationdef stu_info(**kwargs):
    print(kwargs)
    print(kwargs['name'],kwargs['sex'])

stu_info(name = 'alex',sex = 'male')

* Args and ** kwargs