while ((insert)!=(".")):
round=round+1
insert=input("Your ",round,". word please: \n")
我希望只要变量“插入”不是点,循环就可以运行。
答案 0 :(得分:0)
好像您正在尝试错误地使用文本提示。试试这个代码。
round =1
insert=input(f"Your {round}. word please: \n")
while ((insert)!=(".")):
round=round+1
insert=input(f"Your {round}. word please: \n")