2025年6月26日
摘要: while-break-continue while True: s = input("请输入:") if s == 'q': break # 停止当前循环,跳出循环 if "马化腾" in s: print("输入的内容不合法") continue #停止当前本次循环,继续执行下一次循环 prin 阅读全文
posted @ 2025-06-26 16:52 搁浅芳 阅读(5) 评论(0) 推荐(0)