{"id":1146597,"date":"2025-01-08T23:18:12","date_gmt":"2025-01-08T15:18:12","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1146597.html"},"modified":"2025-01-08T23:18:15","modified_gmt":"2025-01-08T15:18:15","slug":"python%e4%b8%ad%e5%a6%82%e4%bd%95%e6%98%9f%e5%8f%b7%e6%8e%92%e6%88%90%e7%ad%89%e8%be%b9%e4%b8%89%e8%a7%92%e5%bd%a2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1146597.html","title":{"rendered":"python\u4e2d\u5982\u4f55\u661f\u53f7\u6392\u6210\u7b49\u8fb9\u4e09\u89d2\u5f62"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24182603\/bb6682b2-7e76-433b-8491-64d56d465451.webp\" alt=\"python\u4e2d\u5982\u4f55\u661f\u53f7\u6392\u6210\u7b49\u8fb9\u4e09\u89d2\u5f62\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\uff0c\u4f7f\u7528\u661f\u53f7(*)\u6765\u6392\u6210\u7b49\u8fb9\u4e09\u89d2\u5f62\uff0c\u53ef\u4ee5\u901a\u8fc7\u63a7\u5236\u661f\u53f7\u7684\u6570\u91cf\u548c\u4f4d\u7f6e\u6765\u5b9e\u73b0\u3002<\/strong> \u4e3b\u8981\u901a\u8fc7\u5faa\u73af\u548c\u5b57\u7b26\u4e32\u64cd\u4f5c\u6765\u5b8c\u6210\uff0c\u6bcf\u4e00\u884c\u7684\u661f\u53f7\u6570\u91cf\u9012\u589e\u5e76\u4e14\u6bcf\u884c\u7684\u661f\u53f7\u4f4d\u7f6e\u4e5f\u9700\u8981\u8c03\u6574\u3002<strong>\u63a7\u5236\u5faa\u73af\u3001\u8c03\u6574\u7a7a\u683c<\/strong>\u662f\u5b9e\u73b0\u8fd9\u4e2a\u6548\u679c\u7684\u5173\u952e\u3002\u4e0b\u9762\uff0c\u6211\u5c06\u8be6\u7ec6\u63cf\u8ff0\u8fd9\u4e00\u8fc7\u7a0b\uff0c\u5e76\u63d0\u4f9b\u4e00\u4e2a\u793a\u4f8b\u4ee3\u7801\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u57fa\u672c\u6982\u5ff5\u548c\u539f\u7406<\/h3>\n<\/p>\n<p><h4>1\u3001\u7b49\u8fb9\u4e09\u89d2\u5f62\u7684\u7279\u70b9<\/h4>\n<\/p>\n<p><p>\u4e00\u4e2a\u7b49\u8fb9\u4e09\u89d2\u5f62\u7684\u6bcf\u4e00\u8fb9\u90fd\u662f\u7b49\u957f\u7684\u3002\u7528\u661f\u53f7\u6392\u6210\u7b49\u8fb9\u4e09\u89d2\u5f62\u65f6\uff0c\u6bcf\u4e00\u884c\u7684\u661f\u53f7\u6570\u91cf\u4ece1\u5f00\u59cb\u9012\u589e\uff0c\u4e14\u6bcf\u4e00\u884c\u7684\u661f\u53f7\u5e94\u8be5\u5c45\u4e2d\u5bf9\u9f50\u3002<\/p>\n<\/p>\n<p><h4>2\u3001\u57fa\u672c\u7684\u5b9e\u73b0\u601d\u8def<\/h4>\n<\/p>\n<p><p>\u4e3a\u4e86\u5b9e\u73b0\u7b49\u8fb9\u4e09\u89d2\u5f62\u7684\u6253\u5370\uff0c\u6211\u4eec\u9700\u8981\u4e24\u4e2a\u4e3b\u8981\u7684\u63a7\u5236\uff1a<strong>\u4e00\u662f\u63a7\u5236\u6bcf\u884c\u661f\u53f7\u7684\u6570\u91cf\uff0c\u4e8c\u662f\u63a7\u5236\u6bcf\u884c\u661f\u53f7\u7684\u4f4d\u7f6e<\/strong>\u3002\u53ef\u4ee5\u901a\u8fc7\u4e24\u5c42\u5faa\u73af\u6765\u5b9e\u73b0\u5916\u5c42\u5faa\u73af\u63a7\u5236\u884c\u6570\uff0c\u5185\u5c42\u5faa\u73af\u63a7\u5236\u6bcf\u884c\u7684\u661f\u53f7\u6570\u91cf\u548c\u4f4d\u7f6e\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001Python\u5b9e\u73b0\u7b49\u8fb9\u4e09\u89d2\u5f62\u7684\u65b9\u6cd5<\/h3>\n<\/p>\n<p><h4>1\u3001\u4f7f\u7528for\u5faa\u73af<\/h4>\n<\/p>\n<p><p>\u901a\u8fc7for\u5faa\u73af\u53ef\u4ee5\u5f88\u65b9\u4fbf\u5730\u63a7\u5236\u884c\u6570\u548c\u6bcf\u884c\u7684\u661f\u53f7\u6570\u91cf\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u793a\u4f8b\u4ee3\u7801\uff0c\u8be5\u4ee3\u7801\u5b9e\u73b0\u4e86\u4e00\u4e2a\u5305\u542b5\u884c\u7684\u7b49\u8fb9\u4e09\u89d2\u5f62\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def print_triangle(rows):<\/p>\n<p>    for i in range(1, rows + 1):<\/p>\n<p>        # \u8ba1\u7b97\u6bcf\u884c\u524d\u9762\u7684\u7a7a\u683c\u6570\u91cf<\/p>\n<p>        spaces = &#39; &#39; * (rows - i)<\/p>\n<p>        # \u8ba1\u7b97\u6bcf\u884c\u7684\u661f\u53f7\u6570\u91cf<\/p>\n<p>        stars = &#39;*&#39; * (2 * i - 1)<\/p>\n<p>        # \u6253\u5370\u8fd9\u4e00\u884c<\/p>\n<p>        print(spaces + stars)<\/p>\n<h2><strong>\u793a\u4f8b\u8c03\u7528<\/strong><\/h2>\n<p>print_triangle(5)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u8be6\u7ec6\u89e3\u6790\u4ee3\u7801<\/h4>\n<\/p>\n<ol>\n<li><code>for i in range(1, rows + 1)<\/code>: \u8fd9\u884c\u4ee3\u7801\u521b\u5efa\u4e86\u4e00\u4e2a\u4ece1\u5230rows\u7684\u5faa\u73af\uff0c\u63a7\u5236\u8f93\u51fa\u7684\u884c\u6570\u3002<\/li>\n<li><code>spaces = &#39; &#39; * (rows - i)<\/code>: \u901a\u8fc7\u8ba1\u7b97\u6bcf\u884c\u524d\u9762\u7684\u7a7a\u683c\u6570\u91cf\uff0c\u786e\u4fdd\u661f\u53f7\u5c45\u4e2d\u5bf9\u9f50\u3002<\/li>\n<li><code>stars = &#39;*&#39; * (2 * i - 1)<\/code>: \u8ba1\u7b97\u6bcf\u884c\u7684\u661f\u53f7\u6570\u91cf\uff0c\u7b2c\u4e00\u884c1\u4e2a\uff0c\u7b2c\u4e8c\u884c3\u4e2a\uff0c\u4f9d\u6b21\u9012\u589e\u3002<\/li>\n<li><code>print(spaces + stars)<\/code>: \u5c06\u7a7a\u683c\u548c\u661f\u53f7\u7ec4\u5408\u540e\u6253\u5370\u51fa\u6765\u3002<\/li>\n<\/ol>\n<p><h3>\u4e09\u3001\u8fdb\u9636\u5b9e\u73b0\u6280\u5de7<\/h3>\n<\/p>\n<p><h4>1\u3001\u4f7f\u7528while\u5faa\u73af<\/h4>\n<\/p>\n<p><p>\u9664\u4e86for\u5faa\u73af\uff0c\u6211\u4eec\u8fd8\u53ef\u4ee5\u4f7f\u7528while\u5faa\u73af\u6765\u5b9e\u73b0\u540c\u6837\u7684\u6548\u679c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def print_triangle(rows):<\/p>\n<p>    i = 1<\/p>\n<p>    while i &lt;= rows:<\/p>\n<p>        spaces = &#39; &#39; * (rows - i)<\/p>\n<p>        stars = &#39;*&#39; * (2 * i - 1)<\/p>\n<p>        print(spaces + stars)<\/p>\n<p>        i += 1<\/p>\n<h2><strong>\u793a\u4f8b\u8c03\u7528<\/strong><\/h2>\n<p>print_triangle(5)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u63a5\u53d7\u7528\u6237\u8f93\u5165<\/h4>\n<\/p>\n<p><p>\u53ef\u4ee5\u901a\u8fc7\u63a5\u53d7\u7528\u6237\u8f93\u5165\u7684\u884c\u6570\u6765\u751f\u6210\u5bf9\u5e94\u7684\u7b49\u8fb9\u4e09\u89d2\u5f62\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def print_triangle():<\/p>\n<p>    rows = int(input(&quot;\u8bf7\u8f93\u5165\u7b49\u8fb9\u4e09\u89d2\u5f62\u7684\u884c\u6570: &quot;))<\/p>\n<p>    for i in range(1, rows + 1):<\/p>\n<p>        spaces = &#39; &#39; * (rows - i)<\/p>\n<p>        stars = &#39;*&#39; * (2 * i - 1)<\/p>\n<p>        print(spaces + stars)<\/p>\n<h2><strong>\u793a\u4f8b\u8c03\u7528<\/strong><\/h2>\n<p>print_triangle()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u56db\u3001\u5b9e\u8df5\u5e94\u7528\u548c\u4f18\u5316<\/h3>\n<\/p>\n<p><h4>1\u3001\u751f\u6210\u4efb\u610f\u5927\u5c0f\u7684\u7b49\u8fb9\u4e09\u89d2\u5f62<\/h4>\n<\/p>\n<p><p>\u901a\u8fc7\u8c03\u6574\u8f93\u5165\u7684\u884c\u6570\uff0c\u53ef\u4ee5\u751f\u6210\u4efb\u610f\u5927\u5c0f\u7684\u7b49\u8fb9\u4e09\u89d2\u5f62\u3002\u5bf9\u4e8e\u5927\u578b\u7684\u7b49\u8fb9\u4e09\u89d2\u5f62\uff0c\u4ee3\u7801\u7684\u6548\u7387\u662f\u4e00\u4e2a\u9700\u8981\u8003\u8651\u7684\u95ee\u9898\u3002<\/p>\n<\/p>\n<p><h4>2\u3001\u8fdb\u4e00\u6b65\u4f18\u5316<\/h4>\n<\/p>\n<p><p>\u9488\u5bf9\u5927\u89c4\u6a21\u7684\u7b49\u8fb9\u4e09\u89d2\u5f62\uff0c\u53ef\u4ee5\u901a\u8fc7\u51cf\u5c11\u5b57\u7b26\u4e32\u64cd\u4f5c\u7684\u6b21\u6570\u6765\u4f18\u5316\u6027\u80fd\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u4f18\u5316\u7684\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def print_triangle(rows):<\/p>\n<p>    for i in range(1, rows + 1):<\/p>\n<p>        print(&#39; &#39; * (rows - i) + &#39;*&#39; * (2 * i - 1))<\/p>\n<h2><strong>\u793a\u4f8b\u8c03\u7528<\/strong><\/h2>\n<p>print_triangle(10)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e94\u3001\u5e94\u7528\u573a\u666f\u548c\u6269\u5c55<\/h3>\n<\/p>\n<p><h4>1\u3001\u5728\u56fe\u5f62\u754c\u9762\u4e2d\u663e\u793a<\/h4>\n<\/p>\n<p><p>\u9664\u4e86\u5728\u63a7\u5236\u53f0\u6253\u5370\uff0c\u8fd8\u53ef\u4ee5\u5728\u56fe\u5f62\u7528\u6237\u754c\u9762\uff08GUI\uff09\u4e2d\u663e\u793a\u7b49\u8fb9\u4e09\u89d2\u5f62\u3002\u4f7f\u7528Python\u7684\u56fe\u5f62\u5e93\uff08\u5982Tkinter\uff09\u53ef\u4ee5\u5b9e\u73b0\u66f4\u590d\u6742\u7684\u56fe\u5f62\u663e\u793a\u3002<\/p>\n<\/p>\n<p><h4>2\u3001\u4e0e\u5176\u4ed6\u5f62\u72b6\u7ec4\u5408<\/h4>\n<\/p>\n<p><p>\u7b49\u8fb9\u4e09\u89d2\u5f62\u53ef\u4ee5\u4e0e\u5176\u4ed6\u51e0\u4f55\u5f62\u72b6\u7ec4\u5408\uff0c\u7528\u4e8e\u751f\u6210\u590d\u6742\u7684\u56fe\u6848\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u7ec4\u5408\u591a\u4e2a\u7b49\u8fb9\u4e09\u89d2\u5f62\u5f62\u6210\u4e00\u4e2a\u516d\u8fb9\u5f62\u6216\u5176\u4ed6\u66f4\u590d\u6742\u7684\u56fe\u6848\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u793a\u4f8b\uff1a\u751f\u6210\u516d\u8fb9\u5f62\u7684\u4ee3\u7801<\/p>\n<p>def print_hexagon(rows):<\/p>\n<p>    for i in range(1, rows + 1):<\/p>\n<p>        print(&#39; &#39; * (rows - i) + &#39;*&#39; * (2 * i - 1))<\/p>\n<p>    for i in range(rows - 1, 0, -1):<\/p>\n<p>        print(&#39; &#39; * (rows - i) + &#39;*&#39; * (2 * i - 1))<\/p>\n<h2><strong>\u793a\u4f8b\u8c03\u7528<\/strong><\/h2>\n<p>print_hexagon(5)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u516d\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7\u672c\u6587\u7684\u4ecb\u7ecd\uff0c\u6211\u4eec\u8be6\u7ec6\u8ba8\u8bba\u4e86\u5982\u4f55\u5728Python\u4e2d\u4f7f\u7528\u661f\u53f7(*)\u6765\u6392\u6210\u7b49\u8fb9\u4e09\u89d2\u5f62\u3002\u4e3b\u8981\u7684\u5b9e\u73b0\u65b9\u5f0f\u5305\u62ec\u4f7f\u7528for\u5faa\u73af\u548cwhile\u5faa\u73af\uff0c\u5e76\u4e14\u53ef\u4ee5\u901a\u8fc7\u7528\u6237\u8f93\u5165\u52a8\u6001\u751f\u6210\u7b49\u8fb9\u4e09\u89d2\u5f62\u3002\u6211\u4eec\u8fd8\u8ba8\u8bba\u4e86\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\u7684\u4e00\u4e9b\u4f18\u5316\u6280\u5de7\u548c\u6269\u5c55\u5e94\u7528\u3002<strong>\u63a7\u5236\u5faa\u73af\u3001\u8c03\u6574\u7a7a\u683c<\/strong>\u662f\u5b9e\u73b0\u8fd9\u4e2a\u6548\u679c\u7684\u5173\u952e\uff0c\u901a\u8fc7\u4e0d\u65ad\u7684\u5b9e\u8df5\u548c\u4f18\u5316\uff0c\u53ef\u4ee5\u751f\u6210\u5404\u79cd\u5f62\u72b6\u7684\u56fe\u6848\uff0c\u6ee1\u8db3\u4e0d\u540c\u7684\u9700\u6c42\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u4f7f\u7528Python\u6253\u5370\u7b49\u8fb9\u4e09\u89d2\u5f62\u7684\u661f\u53f7\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u5faa\u73af\u6765\u6253\u5370\u7b49\u8fb9\u4e09\u89d2\u5f62\u7684\u661f\u53f7\u3002\u901a\u8fc7\u63a7\u5236\u6bcf\u4e00\u884c\u7684\u661f\u53f7\u6570\u91cf\u548c\u524d\u9762\u7684\u7a7a\u683c\uff0c\u53ef\u4ee5\u5b9e\u73b0\u6240\u9700\u7684\u6548\u679c\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<pre><code class=\"language-python\">height = 5  # \u4e09\u89d2\u5f62\u7684\u9ad8\u5ea6\nfor i in range(height):\n    print(&#39; &#39; * (height - i - 1) + &#39;*&#39; * (2 * i + 1))\n<\/code><\/pre>\n<p><strong>\u6211\u53ef\u4ee5\u81ea\u5b9a\u4e49\u7b49\u8fb9\u4e09\u89d2\u5f62\u7684\u9ad8\u5ea6\u5417\uff1f<\/strong><br \/>\u5f53\u7136\u53ef\u4ee5\uff01\u5728\u4ee3\u7801\u4e2d\uff0c\u60a8\u53ea\u9700\u66f4\u6539<code>height<\/code>\u53d8\u91cf\u7684\u503c\u5373\u53ef\u3002\u4f8b\u5982\uff0c\u5c06<code>height<\/code>\u8bbe\u7f6e\u4e3a<code>7<\/code>\uff0c\u5219\u6253\u5370\u51fa\u7684\u4e09\u89d2\u5f62\u9ad8\u5ea6\u4e3a7\u884c\u3002\u4ee3\u7801\u4f1a\u81ea\u52a8\u6839\u636e\u6b64\u9ad8\u5ea6\u8c03\u6574\u661f\u53f7\u7684\u6570\u91cf\u548c\u6392\u5217\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728\u7b49\u8fb9\u4e09\u89d2\u5f62\u4e2d\u6dfb\u52a0\u5176\u4ed6\u5b57\u7b26\uff1f<\/strong><br \/>\u5982\u679c\u60f3\u5728\u7b49\u8fb9\u4e09\u89d2\u5f62\u4e2d\u4f7f\u7528\u5176\u4ed6\u5b57\u7b26\u800c\u4e0d\u662f\u661f\u53f7\uff0c\u53ef\u4ee5\u7b80\u5355\u5730\u5c06<code>&#39;*&#39;<\/code>\u66ff\u6362\u4e3a\u60a8\u5e0c\u671b\u4f7f\u7528\u7684\u5b57\u7b26\u3002\u4f8b\u5982\uff0c\u5c06<code>&#39;*&#39;<\/code>\u66ff\u6362\u4e3a<code>&#39;#&#39;<\/code>\uff0c\u5c31\u53ef\u4ee5\u6253\u5370\u51fa\u7531\u4e95\u53f7\u7ec4\u6210\u7684\u7b49\u8fb9\u4e09\u89d2\u5f62\u3002\u4fee\u6539\u540e\u7684\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"language-python\">height = 5\nfor i in range(height):\n    print(&#39; &#39; * (height - i - 1) + &#39;#&#39; * (2 * i + 1))\n<\/code><\/pre>\n<p><strong>\u5728\u6253\u5370\u7b49\u8fb9\u4e09\u89d2\u5f62\u65f6\u5982\u4f55\u63a7\u5236\u5b57\u7b26\u4e4b\u95f4\u7684\u95f4\u8ddd\uff1f<\/strong><br \/>\u5982\u679c\u60f3\u8981\u5728\u661f\u53f7\u6216\u5176\u4ed6\u5b57\u7b26\u4e4b\u95f4\u589e\u52a0\u95f4\u8ddd\uff0c\u53ef\u4ee5\u5728\u6253\u5370\u5b57\u7b26\u65f6\u6dfb\u52a0\u989d\u5916\u7684\u7a7a\u683c\u3002\u4f8b\u5982\uff0c\u5728<code>&#39;*&#39; * (2 * i + 1)<\/code>\u4e2d\uff0c\u53ef\u4ee5\u4fee\u6539\u4e3a<code>&#39;* &#39; * (i + 1)<\/code>\uff0c\u8fd9\u6837\u6bcf\u4e2a\u5b57\u7b26\u4e4b\u95f4\u5c31\u4f1a\u6709\u4e00\u4e2a\u7a7a\u683c\u3002\u8c03\u6574\u540e\u7684\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"language-python\">height = 5\nfor i in range(height):\n    print(&#39; &#39; * (height - i - 1) + &#39;* &#39; * (i + 1))\n<\/code><\/pre>\n<p>\u901a\u8fc7\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u60a8\u53ef\u4ee5\u7075\u6d3b\u5730\u6253\u5370\u51fa\u4e0d\u540c\u6837\u5f0f\u548c\u9ad8\u5ea6\u7684\u7b49\u8fb9\u4e09\u89d2\u5f62\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\uff0c\u4f7f\u7528\u661f\u53f7(*)\u6765\u6392\u6210\u7b49\u8fb9\u4e09\u89d2\u5f62\uff0c\u53ef\u4ee5\u901a\u8fc7\u63a7\u5236\u661f\u53f7\u7684\u6570\u91cf\u548c\u4f4d\u7f6e\u6765\u5b9e\u73b0\u3002 \u4e3b\u8981\u901a\u8fc7\u5faa\u73af\u548c\u5b57\u7b26\u4e32\u64cd [&hellip;]","protected":false},"author":3,"featured_media":1146603,"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\/1146597"}],"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=1146597"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1146597\/revisions"}],"predecessor-version":[{"id":1146605,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1146597\/revisions\/1146605"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1146603"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1146597"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1146597"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1146597"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}