{"id":985738,"date":"2024-12-27T07:39:12","date_gmt":"2024-12-26T23:39:12","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/985738.html"},"modified":"2024-12-27T07:39:14","modified_gmt":"2024-12-26T23:39:14","slug":"python%e4%b8%ad%e5%a6%82%e4%bd%95%e7%bb%88%e6%ad%a2%e5%be%aa%e7%8e%af","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/985738.html","title":{"rendered":"python\u4e2d\u5982\u4f55\u7ec8\u6b62\u5faa\u73af"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25062637\/ad3fff42-2b5f-42b6-bcaf-d871dd1fcb52.webp\" alt=\"python\u4e2d\u5982\u4f55\u7ec8\u6b62\u5faa\u73af\" \/><\/p>\n<p><p> \u5728Python\u4e2d\u7ec8\u6b62\u5faa\u73af\u6709\u51e0\u79cd\u65b9\u6cd5\uff0c<strong>\u4f7f\u7528<code>break<\/code>\u8bed\u53e5\u3001\u4f7f\u7528<code>return<\/code>\u8bed\u53e5\u3001\u8bbe\u7f6e\u6761\u4ef6\u4f7f\u5faa\u73af\u81ea\u7136\u7ed3\u675f<\/strong>\u3002\u5176\u4e2d\uff0c<strong><code>break<\/code>\u8bed\u53e5<\/strong> \u662f\u6700\u5e38\u7528\u7684\u65b9\u6cd5\uff0c\u5b83\u53ef\u4ee5\u7acb\u5373\u7ec8\u6b62\u5f53\u524d\u5faa\u73af\u5e76\u8df3\u51fa\u5230\u5faa\u73af\u4e4b\u540e\u7684\u4ee3\u7801\u6267\u884c\u3002<strong><code>return<\/code>\u8bed\u53e5<\/strong> \u901a\u5e38\u7528\u4e8e\u51fd\u6570\u4e2d\uff0c\u53ef\u4ee5\u5728\u6ee1\u8db3\u7279\u5b9a\u6761\u4ef6\u65f6\u7ec8\u6b62\u5faa\u73af\u5e76\u8fd4\u56de\u7ed3\u679c\u3002\u6700\u540e\uff0c\u901a\u8fc7\u8bbe\u7f6e\u6761\u4ef6\u4f7f\u5faa\u73af\u81ea\u7136\u7ed3\u675f\u4e5f\u662f\u4e00\u4e2a\u6709\u6548\u7684\u65b9\u6cd5\uff0c\u4f8b\u5982\u5728<code>while<\/code>\u5faa\u73af\u4e2d\u8c03\u6574\u6761\u4ef6\u53d8\u91cf\u7684\u503c\u4f7f\u5f97\u5faa\u73af\u6761\u4ef6\u4e0d\u518d\u6ee1\u8db3\u3002\u4e0b\u9762\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u8ba8\u8bba\u8fd9\u4e9b\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u4f7f\u7528 <code>break<\/code> \u8bed\u53e5<\/p>\n<\/p>\n<p><p><code>break<\/code>\u8bed\u53e5\u662f\u63a7\u5236\u5faa\u73af\u6d41\u7a0b\u7684\u5173\u952e\u5de5\u5177\u4e4b\u4e00\u3002\u5b83\u5728\u6ee1\u8db3\u7279\u5b9a\u6761\u4ef6\u65f6\uff0c\u7acb\u5373\u7ec8\u6b62\u5faa\u73af\u5e76\u8df3\u51fa\u5230\u5faa\u73af\u4e4b\u540e\u7684\u4ee3\u7801\u6267\u884c\u3002\u901a\u5e38\u7528\u4e8e\u9700\u8981\u5728\u5faa\u73af\u4e2d\u9014\u9000\u51fa\u7684\u60c5\u51b5\u3002<\/p>\n<\/p>\n<ol>\n<li><strong><code>break<\/code>\u5728<code>for<\/code>\u5faa\u73af\u4e2d\u7684\u4f7f\u7528<\/strong><\/li>\n<\/ol>\n<p><p>\u5728<code>for<\/code>\u5faa\u73af\u4e2d\uff0c<code>break<\/code>\u8bed\u53e5\u7528\u4e8e\u5728\u904d\u5386\u4e00\u4e2a\u5e8f\u5217\u65f6\uff0c\u5982\u679c\u6ee1\u8db3\u67d0\u4e2a\u6761\u4ef6\u5219\u7acb\u5373\u7ec8\u6b62\u5faa\u73af\u3002\u4f8b\u5982\uff0c\u5728\u5904\u7406\u6570\u636e\u5217\u8868\u65f6\uff0c\u5982\u679c\u627e\u5230\u6ee1\u8db3\u6761\u4ef6\u7684\u5143\u7d20\uff0c\u5c31\u505c\u6b62\u8fdb\u4e00\u6b65\u5904\u7406\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">numbers = [1, 2, 3, 4, 5, 6]<\/p>\n<p>for number in numbers:<\/p>\n<p>    if number == 4:<\/p>\n<p>        break<\/p>\n<p>    print(number)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u8ff0\u4ee3\u7801\u4e2d\uff0c\u5f53<code>number<\/code>\u7b49\u4e8e4\u65f6\uff0c<code>break<\/code>\u8bed\u53e5\u4f1a\u88ab\u89e6\u53d1\uff0c\u5faa\u73af\u4f1a\u7acb\u5373\u7ec8\u6b62\uff0c\u56e0\u6b64\u53ea\u4f1a\u8f93\u51fa1, 2, 3\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li><strong><code>break<\/code>\u5728<code>while<\/code>\u5faa\u73af\u4e2d\u7684\u4f7f\u7528<\/strong><\/li>\n<\/ol>\n<p><p>\u5728<code>while<\/code>\u5faa\u73af\u4e2d\uff0c<code>break<\/code>\u8bed\u53e5\u7528\u4e8e\u5728\u5faa\u73af\u7684\u67d0\u4e2a\u6761\u4ef6\u8fbe\u5230\u65f6\uff0c\u7acb\u5373\u7ec8\u6b62\u5faa\u73af\u3002\u8fd9\u5bf9\u4e8e\u9700\u8981\u5728\u67d0\u4e2a\u6761\u4ef6\u52a8\u6001\u53d8\u5316\u65f6\u7ec8\u6b62\u5faa\u73af\u975e\u5e38\u6709\u7528\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">i = 0<\/p>\n<p>while i &lt; 10:<\/p>\n<p>    print(i)<\/p>\n<p>    if i == 5:<\/p>\n<p>        break<\/p>\n<p>    i += 1<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u5faa\u73af\u4f1a\u5728<code>i<\/code>\u7b49\u4e8e5\u65f6\u7ec8\u6b62\uff0c\u56e0\u4e3a\u89e6\u53d1\u4e86<code>break<\/code>\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u4f7f\u7528 <code>return<\/code> \u8bed\u53e5<\/p>\n<\/p>\n<p><p><code>return<\/code>\u8bed\u53e5\u4e3b\u8981\u7528\u4e8e\u51fd\u6570\u4e2d\uff0c\u5728\u51fd\u6570\u5185\u90e8\u7684\u5faa\u73af\u4e2d\u4f7f\u7528<code>return<\/code>\u53ef\u4ee5\u5728\u6ee1\u8db3\u7279\u5b9a\u6761\u4ef6\u65f6\uff0c\u7acb\u5373\u8fd4\u56de\u51fd\u6570\u7684\u503c\uff0c\u5e76\u7ec8\u6b62\u5faa\u73af\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u5728\u51fd\u6570\u4e2d\u4f7f\u7528<code>return<\/code>\u6765\u7ec8\u6b62\u5faa\u73af<\/strong><\/li>\n<\/ol>\n<p><p>\u4f8b\u5982\uff0c\u5982\u679c\u5728\u51fd\u6570\u4e2d\u9700\u8981\u67e5\u627e\u67d0\u4e2a\u503c\u5e76\u5728\u627e\u5230\u65f6\u7acb\u5373\u8fd4\u56de\uff0c\u53ef\u4ee5\u4f7f\u7528<code>return<\/code>\u8bed\u53e5\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def find_first_even(numbers):<\/p>\n<p>    for number in numbers:<\/p>\n<p>        if number % 2 == 0:<\/p>\n<p>            return number<\/p>\n<p>    return None<\/p>\n<p>result = find_first_even([1, 3, 5, 6, 7])<\/p>\n<p>print(result)  # \u8f93\u51fa6<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u5f53\u627e\u5230\u7b2c\u4e00\u4e2a\u5076\u6570\u65f6\uff0c<code>return<\/code>\u8bed\u53e5\u7acb\u5373\u8fd4\u56de\u8be5\u503c\u5e76\u7ec8\u6b62\u5faa\u73af\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u901a\u8fc7\u8bbe\u7f6e\u6761\u4ef6\u4f7f\u5faa\u73af\u81ea\u7136\u7ed3\u675f<\/p>\n<\/p>\n<p><p>\u9664\u4e86\u4f7f\u7528<code>break<\/code>\u548c<code>return<\/code>\u8bed\u53e5\uff0c\u8fd8\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e\u6761\u4ef6\uff0c\u4f7f\u5f97\u5faa\u73af\u81ea\u7136\u5730\u8fbe\u5230\u7ec8\u6b62\u6761\u4ef6\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u5229\u7528\u6761\u4ef6\u53d8\u91cf\u5728<code>while<\/code>\u5faa\u73af\u4e2d\u7ec8\u6b62<\/strong><\/li>\n<\/ol>\n<p><p>\u5728<code>while<\/code>\u5faa\u73af\u4e2d\uff0c\u901a\u8fc7\u6539\u53d8\u6761\u4ef6\u53d8\u91cf\u7684\u503c\uff0c\u4f7f\u5f97\u5faa\u73af\u6761\u4ef6\u4e0d\u518d\u6ee1\u8db3\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">count = 0<\/p>\n<p>while count &lt; 5:<\/p>\n<p>    print(count)<\/p>\n<p>    count += 1<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u5f53<code>count<\/code>\u589e\u52a0\u52305\u65f6\uff0c\u5faa\u73af\u6761\u4ef6<code>count &lt; 5<\/code>\u4e0d\u518d\u6ee1\u8db3\uff0c\u5faa\u73af\u81ea\u7136\u7ed3\u675f\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u5728<code>for<\/code>\u5faa\u73af\u4e2d\u901a\u8fc7\u904d\u5386\u5b8c\u6210\u7ec8\u6b62<\/strong><\/li>\n<\/ol>\n<p><p>\u5728<code>for<\/code>\u5faa\u73af\u4e2d\uff0c\u5faa\u73af\u4f1a\u5728\u904d\u5386\u5b8c\u5e8f\u5217\u540e\u81ea\u7136\u7ec8\u6b62\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">for letter in &quot;Python&quot;:<\/p>\n<p>    print(letter)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u91cc\uff0c\u5faa\u73af\u4f1a\u5728\u5b57\u7b26\u4e32&quot;Python&quot;\u7684\u6240\u6709\u5b57\u7b26\u88ab\u904d\u5386\u540e\u81ea\u7136\u7ed3\u675f\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001\u7ed3\u5408\u4f7f\u7528\u6761\u4ef6\u548c\u63a7\u5236\u8bed\u53e5<\/p>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u901a\u5e38\u9700\u8981\u7ed3\u5408\u4f7f\u7528\u6761\u4ef6\u548c\u63a7\u5236\u8bed\u53e5\u6765\u5b9e\u73b0\u590d\u6742\u7684\u5faa\u73af\u7ec8\u6b62\u903b\u8f91\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u7ed3\u5408<code>break<\/code>\u548c\u6761\u4ef6<\/strong><\/li>\n<\/ol>\n<p><p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u53ef\u80fd\u9700\u8981\u540c\u65f6\u4f7f\u7528\u6761\u4ef6\u5224\u65ad\u548c<code>break<\/code>\u8bed\u53e5\u6765\u63a7\u5236\u5faa\u73af\u7684\u7ec8\u6b62\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">numbers = [1, 2, 3, 4, 5, 6]<\/p>\n<p>found = False<\/p>\n<p>for number in numbers:<\/p>\n<p>    if number == 4:<\/p>\n<p>        found = True<\/p>\n<p>        break<\/p>\n<p>if found:<\/p>\n<p>    print(&quot;Number 4 found in the list&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(&quot;Number 4 not found in the list&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u901a\u8fc7\u8bbe\u7f6e<code>found<\/code>\u6807\u5fd7\uff0c\u7ed3\u5408<code>break<\/code>\u8bed\u53e5\u5b9e\u73b0\u4e86\u5bf9\u7279\u5b9a\u6570\u503c\u7684\u67e5\u627e\u548c\u54cd\u5e94\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u591a\u5c42\u5faa\u73af\u4e2d\u4f7f\u7528<code>break<\/code><\/strong><\/li>\n<\/ol>\n<p><p>\u5728\u591a\u5c42\u5faa\u73af\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7<code>break<\/code>\u8bed\u53e5\u8df3\u51fa\u5f53\u524d\u5c42\u7684\u5faa\u73af\uff0c\u4f46\u4e0d\u4f1a\u5f71\u54cd\u5916\u5c42\u5faa\u73af\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">for i in range(3):<\/p>\n<p>    for j in range(3):<\/p>\n<p>        if j == 1:<\/p>\n<p>            break<\/p>\n<p>        print(f&quot;i: {i}, j: {j}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c<code>break<\/code>\u8bed\u53e5\u53ea\u4f1a\u8df3\u51fa\u5185\u5c42\u5faa\u73af\uff0c\u800c\u5916\u5c42\u5faa\u73af\u5c06\u7ee7\u7eed\u6267\u884c\u3002<\/p>\n<\/p>\n<p><p>\u4e94\u3001\u603b\u7ed3<\/p>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u5faa\u73af\u7684\u7ec8\u6b62\u662f\u4e00\u4e2a\u5e38\u89c1\u4e14\u91cd\u8981\u7684\u7f16\u7a0b\u4efb\u52a1\u3002\u901a\u8fc7\u4f7f\u7528<code>break<\/code>\u548c<code>return<\/code>\u8bed\u53e5\uff0c\u7ed3\u5408\u6761\u4ef6\u5224\u65ad\uff0c\u7a0b\u5e8f\u5458\u53ef\u4ee5\u7075\u6d3b\u5730\u63a7\u5236\u5faa\u73af\u7684\u6267\u884c\u6d41\uff0c\u4ece\u800c\u5b9e\u73b0\u9ad8\u6548\u7684\u7a0b\u5e8f\u8bbe\u8ba1\u3002\u4e86\u89e3\u548c\u638c\u63e1\u8fd9\u4e9b\u6280\u5de7\uff0c\u5bf9\u4e8e\u7f16\u5199\u6e05\u6670\u3001\u7b80\u6d01\u548c\u529f\u80fd\u5f3a\u5927\u7684Python\u4ee3\u7801\u81f3\u5173\u91cd\u8981\u3002\u65e0\u8bba\u662f\u5904\u7406\u7b80\u5355\u7684\u5217\u8868\uff0c\u8fd8\u662f\u590d\u6742\u7684\u5d4c\u5957\u5faa\u73af\uff0c\u5408\u7406\u4f7f\u7528\u5faa\u73af\u7ec8\u6b62\u65b9\u6cd5\u90fd\u80fd\u663e\u8457\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u7ef4\u62a4\u6027\u548c\u6548\u7387\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u5b89\u5168\u5730\u7ec8\u6b62\u4e00\u4e2a\u5faa\u73af\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>break<\/code>\u8bed\u53e5\u5b89\u5168\u5730\u7ec8\u6b62\u5faa\u73af\u3002\u5f53\u6ee1\u8db3\u7279\u5b9a\u6761\u4ef6\u65f6\uff0c\u6267\u884c<code>break<\/code>\u5c06\u7acb\u5373\u9000\u51fa\u5f53\u524d\u5faa\u73af\u3002\u8fd9\u79cd\u65b9\u6cd5\u5e38\u7528\u4e8e\u5728\u627e\u5230\u6240\u9700\u6570\u636e\u6216\u8fbe\u5230\u67d0\u4e2a\u72b6\u6001\u65f6\u505c\u6b62\u5faa\u73af\u3002<\/p>\n<p><strong>\u5982\u4f55\u4f7f\u7528\u6761\u4ef6\u8bed\u53e5\u6765\u63a7\u5236\u5faa\u73af\u7684\u7ec8\u6b62\uff1f<\/strong><br \/>\u901a\u8fc7\u5728\u5faa\u73af\u5185\u90e8\u8bbe\u7f6e\u6761\u4ef6\u8bed\u53e5\uff0c\u53ef\u4ee5\u5b9e\u73b0\u7075\u6d3b\u7684\u7ec8\u6b62\u673a\u5236\u3002\u4f8b\u5982\uff0c\u5728<code>while<\/code>\u5faa\u73af\u4e2d\uff0c\u8bbe\u5b9a\u4e00\u4e2a\u53d8\u91cf\u4f5c\u4e3a\u8ba1\u6570\u5668\uff0c\u5f53\u8ba1\u6570\u5668\u8fbe\u5230\u9884\u5b9a\u503c\u65f6\uff0c\u4f7f\u7528<code>break<\/code>\u8bed\u53e5\u6765\u9000\u51fa\u5faa\u73af\u3002\u8fd9\u6837\u7684\u65b9\u5f0f\u53ef\u4ee5\u786e\u4fdd\u5faa\u73af\u5728\u9002\u5f53\u7684\u65f6\u673a\u7ec8\u6b62\uff0c\u907f\u514d\u65e0\u6548\u7684\u8fed\u4ee3\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\uff0c\u5982\u4f55\u5904\u7406\u65e0\u9650\u5faa\u73af\u7684\u60c5\u51b5\uff1f<\/strong><br \/>\u65e0\u9650\u5faa\u73af\u53ef\u80fd\u5bfc\u81f4\u7a0b\u5e8f\u6302\u8d77\u6216\u6d88\u8017\u8fc7\u591a\u8d44\u6e90\u3002\u4e3a\u4e86\u6709\u6548\u5904\u7406\u8fd9\u79cd\u60c5\u51b5\uff0c\u53ef\u4ee5\u5728\u5faa\u73af\u4e2d\u52a0\u5165\u6761\u4ef6\u5224\u65ad\uff0c\u6216\u4f7f\u7528<code>try<\/code>\u548c<code>except<\/code>\u8bed\u53e5\u6355\u83b7\u7279\u5b9a\u5f02\u5e38\u3002\u6b64\u5916\uff0c\u901a\u8fc7\u8bbe\u7f6e\u4e00\u4e2a\u6700\u5927\u5faa\u73af\u6b21\u6570\uff0c\u4e5f\u53ef\u4ee5\u907f\u514d\u7a0b\u5e8f\u8fdb\u5165\u65e0\u4f11\u6b62\u7684\u5faa\u73af\u72b6\u6001\uff0c\u8fd9\u6837\u4e00\u6765\u5373\u4f7f\u6ca1\u6709\u6ee1\u8db3\u9000\u51fa\u6761\u4ef6\uff0c\u7a0b\u5e8f\u4e5f\u80fd\u5728\u8fbe\u5230\u8bbe\u5b9a\u6b21\u6570\u540e\u5b89\u5168\u9000\u51fa\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u7ec8\u6b62\u5faa\u73af\u6709\u51e0\u79cd\u65b9\u6cd5\uff0c\u4f7f\u7528break\u8bed\u53e5\u3001\u4f7f\u7528return\u8bed\u53e5\u3001\u8bbe\u7f6e\u6761\u4ef6\u4f7f\u5faa\u73af\u81ea\u7136\u7ed3\u675f\u3002\u5176\u4e2d\uff0cb [&hellip;]","protected":false},"author":3,"featured_media":985747,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/985738"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=985738"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/985738\/revisions"}],"predecessor-version":[{"id":985750,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/985738\/revisions\/985750"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/985747"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=985738"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=985738"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=985738"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}