原型:
me=‘’#while循环需要的的初始值
while me!=‘quit’:
me=input(“提示语blablabla一大堆话写不下:”)
print(me)
修改后:
tishi=‘\nTell me sth,and i will repeat it back to you.’
tishi+=“\nEnter ‘quit’ to stop the program.”
tishi+=“\nNow you can enter:”
me=‘’#while需要的初始值
while me!=‘quit’:
me=input(tishi)
if me!=‘quit’:#输入不是quit时才打印用户的输入
print(me)