在函数选项完成后,while 循环仍然继续,即使 update 与它需要的字符串之一相同。满足更新条件后如何停止while循环
while update.lower() != "tests" or "lessons" or "adjust":
update = input("Do you want to update content from 'lessons' or 'tests'. Or do you want to 'adjust' what you aren't confident with. respond with 'adjust' 'lesson' or 'tests'").lower()
if update.lower() == "tests" or "lessons" or "adjust":
options()
临摹微笑
狐的传说
相关分类