{"id":510,"date":"2019-08-26T22:49:15","date_gmt":"2019-08-26T14:49:15","guid":{"rendered":"http:\/\/vip.fxxkpython.com\/?p=510"},"modified":"2021-08-27T04:00:50","modified_gmt":"2021-08-26T20:00:50","slug":"python%e5%bf%ab%e9%80%9f%e5%85%a5%e9%97%a8-python%e4%b8%ad%e9%a2%91%e7%b9%81%e4%bd%bf%e7%94%a8%e5%88%b0%e7%9a%84%e8%af%ad%e5%8f%a5%ef%bc%88%e4%b8%8a%ef%bc%89%ef%bc%9aif%e3%80%81pass%e3%80%81while","status":"publish","type":"post","link":"https:\/\/vip.fxxkpython.com\/?p=510","title":{"rendered":"Python\u5feb\u901f\u5165\u95e8 | python\u4e2d\u9891\u7e41\u4f7f\u7528\u5230\u7684\u8bed\u53e5\uff1aif\u3001pass\u3001while\u3001for\u3001break\u3001continue"},"content":{"rendered":"\n<p>\u8fd9\u4e00\u7bc7\u4e3b\u8981\u8ddf\u4f60\u8bf4\u8bf4\u6211\u4eec\u5728 Python \u4e2d\u4f1a\u9891\u7e41\u4f7f\u7528\u5230\u7684\u8bed\u53e5\uff0c\u8fd9\u4e9b\u8bed\u53e5\u5f88\u7b80\u5355\uff0c\u4f46\u4e5f\u5f88\u6709\u7528\uff0c\u53ea\u8981\u662f\u60f3\u901a\u8fc7\u7f16\u7a0b\u8bed\u8a00\u5b9e\u73b0\u5177\u4f53\u7684\u529f\u80fd\uff0c\u8fd9\u4e9b\u8bed\u53e5\u90fd\u4f1a\u6d89\u53ca\u5230\u3002<div style=\"text-align:center;border:1px dashed #FF9A9A;padding:8px;margin:10px auto;color:#FF6666;\">\u672c\u6587\u9690\u85cf\u5185\u5bb9 <a href=\"https:\/\/vip.fxxkpython.com\/wp-login.php?redirect_to=https%3A%2F%2Fvip.fxxkpython.com%2F%3Fp%3D510\">\u767b\u9646<\/a> \u540e\u624d\u53ef\u4ee5\u6d4f\u89c8<\/div>ok\uff0c\u4ee5\u4e0a\u8fd9\u51e0\u4e2a\u8bed\u53e5\u4f60\u53ef\u4ee5\u53bb\u719f\u6089\u4e00\u4e0b\uff0c\u4e0b\u4e00\u7bc7\u6211\u4f1a\u544a\u8bc9\u4f60 python \u4e2d\u72ec\u6709\u7684\u8bed\u53e5\uff0c\u6bd4\u5982 with\uff0c\u5faa\u73af\u4e2d\u7684 else \u7684\u4f7f\u7528\uff0c\u4ee5\u53ca try \u8bed\u53e5\uff0c\u4e5f\u662f\u6211\u4eec\u4f1a\u9891\u7e41\u7528\u5230\u7684\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8fd9\u4e00\u7bc7\u4e3b\u8981\u8ddf\u4f60\u8bf4\u8bf4\u6211\u4eec\u5728 Python \u4e2d\u4f1a\u9891\u7e41\u4f7f\u7528\u5230\u7684\u8bed\u53e5\uff0c\u8fd9\u4e9b\u8bed\u53e5\u5f88\u7b80\u5355\uff0c\u4f46\u4e5f\u5f88\u6709\u7528\uff0c\u53ea\u8981\u662f\u60f3\u901a\u8fc7\u7f16\u7a0b\u8bed\u8a00\u5b9e\u73b0\u5177\u4f53\u7684\u529f\u80fd\uff0c\u8fd9\u4e9b\u8bed\u53e5\u90fd\u4f1a\u6d89\u53ca\u5230\u3002ok\uff0c\u4ee5\u4e0a\u8fd9\u51e0\u4e2a\u8bed\u53e5\u4f60\u53ef\u4ee5\u53bb\u719f\u6089\u4e00\u4e0b\uff0c\u4e0b\u4e00\u7bc7\u6211\u4f1a\u544a\u8bc9\u4f60 python \u4e2d\u72ec\u6709\u7684\u8bed\u53e5\uff0c\u6bd4\u5982 with\uff0c\u5faa\u73af&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[18],"tags":[43,44,42,39,40,19,20,41],"_links":{"self":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/510"}],"collection":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=510"}],"version-history":[{"count":5,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/510\/revisions"}],"predecessor-version":[{"id":6614,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/510\/revisions\/6614"}],"wp:attachment":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=510"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=510"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=510"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}