# -*- coding: utf-8-*-
__author__ = 'manman'


def func(a, b=5, c=10):
    print 'a is', a, 'b is', b, 'c is', c


func(3, 7)
func(25, c=24)
func(c=50, a=100)

func(a=3)


def show_info(name, age=20, *args, **kwargs):
    """
    show student's info
    :param name: student's name
    :param age: student's age
    :param score: student's score
    :return: nothing
    """
    print name,
    print age,
    print args,
    print kwargs

if __name__ == '__main__':
    show_info('zhuzai')
    print '-' * 40
    show_info('zhuzai', 10)
    print '-' * 40
    show_info('zhuzai', age=11)
    print '-' * 40
    show_info('zhuzai', 12, 13, 14)
    print '-' * 40
    show_info('zhuzai', 15, *(16, 17), score=100)
    print '-' * 40
    show_info('zhuzai', 18, *(19, ), **{'score': 20})

