所以我有这样的代码:为什么我的代码不能以小写形式返回?
welcome = input()
if (welcome.lower() == "Hello") or (welcome.lower() == "Hey") or (welcome.lower() == "Hej"):
input("Hello,\n" + "my name is Misty.")
else:
print ("That way of saying hello is new to me, should i save it in my memory?")
为什么当我写小写你好,嗨和HEJ这个代码不写打招呼还给我?
为什么你认为'welcome.lower()'会永远等于' “你好”'它有一个大写字母?还是其他的? –