While语句跳不出来

名单 = [] while True: print("--------------------------------") 需求 = input("请问您需要添加人员吗[Y/N]: ") print("--------------------------------") if 需求 == "Y" or "y" 名称 = input("请输入您要填写的名称: ") 名单.append(名称) continue elif 需求 == "N" or "n": break else: print("操作错误!请重新输入") continue print("ddddd") print("dadada")