command=input("> ").lower()
while command!="quit":
if command=="start":
print("go")
elif command=="stop":
print("stop")
elif command=="help":
print("quit,start,stop")
else:
print("I can't understand")
command=input("> ").lower
#第一种情况:输入“quit”,直接不进入循环,程序结束
#第二种情况:输入除“quit”外任意字符,再输入“quit”却不退出循环,而执行else
问题就是,我第一次输入“quit”以外的字符后,再输入“quit”程序不应该执行循环的判断语句,此时判断语句不成立,却不退出循环,这是为什么呢