python-3.x - 为什么大写 Right 的 while 循环没有运行?
问题描述
下面是我的代码:
name = input ('Whats ur name ? ')
dtion = input (name + ' you are in the forest where do u wanna go? ')
while dtion != "right" or dtion != "Right":
dtion = input ("you are still in the Forest where do u wanna go? ")
print ("You are out of the Forest")