代码
提交代码
def add_student(name, age, city="nanjing"): print(name) print(age) print(city) add_student('tom', 10) add_student('jerry', 12) add_student('mike', 12) add_student('john', 11) add_student('jobs', 13, 'beijing')
运行结果