就是你输入数据之后回车就会输出你只有一个input所以每次只能读入一个数据,多次输入的话用while循环
while True: a=input('cccc') if a!='0': print(a) else: break
你想输入多个的话,可以写个循环
for i in range(10): a = input("ccc:") print(a)