python,用while 怎样才能循环输入名字,然后输出同学信息?或者有其他办法吗
在lesson=input('请输入查询名字:')之前加for循环试下
for i in range(10): #循环10次 lesson = input('请输入查询名字:')