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