{"id":1136713,"date":"2025-01-08T21:39:15","date_gmt":"2025-01-08T13:39:15","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1136713.html"},"modified":"2025-01-08T21:39:17","modified_gmt":"2025-01-08T13:39:17","slug":"python%e9%92%9d%e8%a7%92%e4%b8%89%e8%a7%92%e5%bd%a2%e5%a6%82%e4%bd%95%e5%88%a4%e6%96%ad","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1136713.html","title":{"rendered":"python\u949d\u89d2\u4e09\u89d2\u5f62\u5982\u4f55\u5224\u65ad"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25100740\/6c28c625-bc65-4d78-b25b-9efb93a9e08e.webp\" alt=\"python\u949d\u89d2\u4e09\u89d2\u5f62\u5982\u4f55\u5224\u65ad\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\u5224\u65ad\u4e00\u4e2a\u4e09\u89d2\u5f62\u662f\u5426\u4e3a\u949d\u89d2\u4e09\u89d2\u5f62<\/strong>\uff0c\u53ef\u4ee5\u901a\u8fc7\u8ba1\u7b97\u4e09\u89d2\u5f62\u7684\u4e09\u4e2a\u89d2\u5ea6\uff0c\u5e76\u68c0\u67e5\u662f\u5426\u5176\u4e2d\u6709\u4e00\u4e2a\u89d2\u5ea6\u5927\u4e8e90\u5ea6\u3002<strong>\u949d\u89d2\u4e09\u89d2\u5f62\u7684\u7279\u5f81\u662f\u5b58\u5728\u4e00\u4e2a\u89d2\u5ea6\u5927\u4e8e90\u5ea6<\/strong>\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528Python\u4ee3\u7801\u8fdb\u884c\u6b64\u5224\u65ad\uff0c\u4ee5\u53ca\u4e00\u4e9b\u76f8\u5173\u7684\u6570\u5b66\u57fa\u7840\u548c\u7f16\u7a0b\u7ec6\u8282\u3002<\/p>\n<\/p>\n<p><h3>\u6570\u5b66\u57fa\u7840<\/h3>\n<\/p>\n<p><p>\u5728\u4e00\u4e2a\u4e09\u89d2\u5f62\u4e2d\uff0c\u5982\u679c\u6211\u4eec\u77e5\u9053\u4e09\u6761\u8fb9\u7684\u957f\u5ea6 (a)\u3001(b)\u3001(c)\uff0c\u53ef\u4ee5\u5229\u7528\u4f59\u5f26\u5b9a\u7406\u6765\u8ba1\u7b97\u6bcf\u4e2a\u89d2\u7684\u4f59\u5f26\u503c\u3002\u4f59\u5f26\u5b9a\u7406\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><p>[ c^2 = a^2 + b^2 &#8211; 2ab \\cdot \\cos(C) ]<\/p>\n<\/p>\n<p><p>[ \\cos(C) = \\frac{a^2 + b^2 &#8211; c^2}{2ab} ]<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u8ba1\u7b97\u4f59\u5f26\u503c\uff0c\u53ef\u4ee5\u5f97\u5230\u89d2\u5ea6\uff0c\u5e76\u5224\u65ad\u662f\u5426\u6709\u89d2\u5ea6\u5927\u4e8e90\u5ea6\u3002\u5177\u4f53\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>\u8ba1\u7b97\u6bcf\u4e2a\u89d2\u7684\u4f59\u5f26\u503c<\/strong>\u3002<\/li>\n<li><strong>\u8f6c\u6362\u4f59\u5f26\u503c\u4e3a\u89d2\u5ea6<\/strong>\u3002<\/li>\n<li><strong>\u68c0\u67e5\u662f\u5426\u6709\u89d2\u5ea6\u5927\u4e8e90\u5ea6<\/strong>\u3002<\/li>\n<\/ol>\n<p><h3>Python\u5b9e\u73b0\u6b65\u9aa4<\/h3>\n<\/p>\n<p><h4>\u4e00\u3001\u5bfc\u5165\u5fc5\u8981\u7684\u5e93<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\">import math<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u4e8c\u3001\u5b9a\u4e49\u51fd\u6570\u6765\u8ba1\u7b97\u89d2\u5ea6<\/h4>\n<\/p>\n<p><p>\u6211\u4eec\u53ef\u4ee5\u5b9a\u4e49\u4e00\u4e2a\u51fd\u6570\u6765\u8ba1\u7b97\u4e09\u89d2\u5f62\u7684\u4e09\u4e2a\u89d2\u5ea6\uff0c\u51fd\u6570\u63a5\u53d7\u4e09\u6761\u8fb9\u7684\u957f\u5ea6\u4f5c\u4e3a\u53c2\u6570\uff0c\u5e76\u8fd4\u56de\u4e09\u4e2a\u89d2\u5ea6\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def calculate_angles(a, b, c):<\/p>\n<p>    # \u4f7f\u7528\u4f59\u5f26\u5b9a\u7406\u8ba1\u7b97\u6bcf\u4e2a\u89d2\u7684\u4f59\u5f26\u503c<\/p>\n<p>    cos_A = (b&lt;strong&gt;2 + c&lt;\/strong&gt;2 - a2) \/ (2 * b * c)<\/p>\n<p>    cos_B = (a&lt;strong&gt;2 + c&lt;\/strong&gt;2 - b2) \/ (2 * a * c)<\/p>\n<p>    cos_C = (a&lt;strong&gt;2 + b&lt;\/strong&gt;2 - c2) \/ (2 * a * b)<\/p>\n<p>    # \u8ba1\u7b97\u6bcf\u4e2a\u89d2\u5ea6\uff08\u5f27\u5ea6\uff09<\/p>\n<p>    angle_A = math.acos(cos_A)<\/p>\n<p>    angle_B = math.acos(cos_B)<\/p>\n<p>    angle_C = math.acos(cos_C)<\/p>\n<p>    # \u5c06\u5f27\u5ea6\u8f6c\u6362\u4e3a\u5ea6\u6570<\/p>\n<p>    angle_A = math.degrees(angle_A)<\/p>\n<p>    angle_B = math.degrees(angle_B)<\/p>\n<p>    angle_C = math.degrees(angle_C)<\/p>\n<p>    return angle_A, angle_B, angle_C<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u4e09\u3001\u5224\u65ad\u662f\u5426\u4e3a\u949d\u89d2\u4e09\u89d2\u5f62<\/h4>\n<\/p>\n<p><p>\u6211\u4eec\u9700\u8981\u4e00\u4e2a\u51fd\u6570\u6765\u68c0\u67e5\u662f\u5426\u6709\u4e00\u4e2a\u89d2\u5ea6\u5927\u4e8e90\u5ea6\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def is_obtuse_triangle(a, b, c):<\/p>\n<p>    angle_A, angle_B, angle_C = calculate_angles(a, b, c)<\/p>\n<p>    return angle_A &gt; 90 or angle_B &gt; 90 or angle_C &gt; 90<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u8be6\u7ec6\u5b9e\u73b0<\/h3>\n<\/p>\n<p><p>\u4ee5\u4e0b\u662f\u5b8c\u6574\u7684Python\u4ee3\u7801\u5b9e\u73b0\uff0c\u7528\u4e8e\u5224\u65ad\u4e00\u4e2a\u4e09\u89d2\u5f62\u662f\u5426\u4e3a\u949d\u89d2\u4e09\u89d2\u5f62\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import math<\/p>\n<p>def calculate_angles(a, b, c):<\/p>\n<p>    # \u4f7f\u7528\u4f59\u5f26\u5b9a\u7406\u8ba1\u7b97\u6bcf\u4e2a\u89d2\u7684\u4f59\u5f26\u503c<\/p>\n<p>    cos_A = (b&lt;strong&gt;2 + c&lt;\/strong&gt;2 - a2) \/ (2 * b * c)<\/p>\n<p>    cos_B = (a&lt;strong&gt;2 + c&lt;\/strong&gt;2 - b2) \/ (2 * a * c)<\/p>\n<p>    cos_C = (a&lt;strong&gt;2 + b&lt;\/strong&gt;2 - c2) \/ (2 * a * b)<\/p>\n<p>    # \u8ba1\u7b97\u6bcf\u4e2a\u89d2\u5ea6\uff08\u5f27\u5ea6\uff09<\/p>\n<p>    angle_A = math.acos(cos_A)<\/p>\n<p>    angle_B = math.acos(cos_B)<\/p>\n<p>    angle_C = math.acos(cos_C)<\/p>\n<p>    # \u5c06\u5f27\u5ea6\u8f6c\u6362\u4e3a\u5ea6\u6570<\/p>\n<p>    angle_A = math.degrees(angle_A)<\/p>\n<p>    angle_B = math.degrees(angle_B)<\/p>\n<p>    angle_C = math.degrees(angle_C)<\/p>\n<p>    return angle_A, angle_B, angle_C<\/p>\n<p>def is_obtuse_triangle(a, b, c):<\/p>\n<p>    angle_A, angle_B, angle_C = calculate_angles(a, b, c)<\/p>\n<p>    return angle_A &gt; 90 or angle_B &gt; 90 or angle_C &gt; 90<\/p>\n<h2><strong>\u6d4b\u8bd5\u793a\u4f8b<\/strong><\/h2>\n<p>a = 3<\/p>\n<p>b = 4<\/p>\n<p>c = 5<\/p>\n<p>if is_obtuse_triangle(a, b, c):<\/p>\n<p>    print(&quot;\u8fd9\u4e2a\u4e09\u89d2\u5f62\u662f\u949d\u89d2\u4e09\u89d2\u5f62&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(&quot;\u8fd9\u4e2a\u4e09\u89d2\u5f62\u4e0d\u662f\u949d\u89d2\u4e09\u89d2\u5f62&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4ee3\u7801\u89e3\u91ca<\/h3>\n<\/p>\n<p><h4>1. \u8ba1\u7b97\u89d2\u5ea6<\/h4>\n<\/p>\n<p><p>\u51fd\u6570<code>calculate_angles<\/code>\u4f7f\u7528\u4f59\u5f26\u5b9a\u7406\u6765\u8ba1\u7b97\u6bcf\u4e2a\u89d2\u5ea6\u7684\u4f59\u5f26\u503c\uff0c\u7136\u540e\u4f7f\u7528<code>math.acos<\/code>\u51fd\u6570\u5c06\u4f59\u5f26\u503c\u8f6c\u6362\u4e3a\u5f27\u5ea6\uff0c\u518d\u901a\u8fc7<code>math.degrees<\/code>\u51fd\u6570\u5c06\u5f27\u5ea6\u8f6c\u6362\u4e3a\u5ea6\u6570\u3002<\/p>\n<\/p>\n<p><h4>2. \u5224\u65ad\u949d\u89d2<\/h4>\n<\/p>\n<p><p>\u51fd\u6570<code>is_obtuse_triangle<\/code>\u8c03\u7528<code>calculate_angles<\/code>\u6765\u83b7\u53d6\u6bcf\u4e2a\u89d2\u5ea6\uff0c\u5e76\u68c0\u67e5\u662f\u5426\u6709\u4e00\u4e2a\u89d2\u5ea6\u5927\u4e8e90\u5ea6\u3002<\/p>\n<\/p>\n<p><h3>\u5e94\u7528\u573a\u666f\u4e0e\u6ce8\u610f\u4e8b\u9879<\/h3>\n<\/p>\n<p><h4>\u4e00\u3001\u5e94\u7528\u573a\u666f<\/h4>\n<\/p>\n<ol>\n<li><strong>\u51e0\u4f55\u8ba1\u7b97\u4e0e\u56fe\u5f62\u5904\u7406<\/strong>\uff1a\u5728\u8ba1\u7b97\u51e0\u4f55\u3001\u56fe\u5f62\u5904\u7406\u548c\u5efa\u6a21\u4e2d\uff0c\u5224\u65ad\u4e09\u89d2\u5f62\u7c7b\u578b\u662f\u4e00\u4e2a\u5e38\u89c1\u7684\u95ee\u9898\u3002<\/li>\n<li><strong>\u5de5\u7a0b\u8bbe\u8ba1<\/strong>\uff1a\u5728\u673a\u68b0\u5de5\u7a0b\u548c\u5efa\u7b51\u8bbe\u8ba1\u4e2d\uff0c\u786e\u5b9a\u4e09\u89d2\u5f62\u7684\u7c7b\u578b\u53ef\u4ee5\u5e2e\u52a9\u4f18\u5316\u7ed3\u6784\u8bbe\u8ba1\u3002<\/li>\n<li><strong>\u6559\u80b2\u4e0e\u6559\u5b66<\/strong>\uff1a\u5728\u6570\u5b66\u6559\u80b2\u4e2d\uff0c\u7f16\u7a0b\u53ef\u4ee5\u5e2e\u52a9\u5b66\u751f\u66f4\u597d\u5730\u7406\u89e3\u51e0\u4f55\u6982\u5ff5\u3002<\/li>\n<\/ol>\n<p><h4>\u4e8c\u3001\u6ce8\u610f\u4e8b\u9879<\/h4>\n<\/p>\n<ol>\n<li><strong>\u8f93\u5165\u9a8c\u8bc1<\/strong>\uff1a\u786e\u4fdd\u8f93\u5165\u7684\u4e09\u6761\u8fb9\u80fd\u7ec4\u6210\u4e00\u4e2a\u6709\u6548\u7684\u4e09\u89d2\u5f62\u3002\u53ef\u4ee5\u6dfb\u52a0\u989d\u5916\u7684\u68c0\u67e5\u6765\u9a8c\u8bc1\u4e09\u89d2\u5f62\u4e0d\u7b49\u5f0f\u3002<\/li>\n<li><strong>\u6570\u503c\u7cbe\u5ea6<\/strong>\uff1a\u5728\u4f7f\u7528\u6d6e\u70b9\u6570\u8ba1\u7b97\u65f6\u8981\u6ce8\u610f\u6570\u503c\u7cbe\u5ea6\u7684\u95ee\u9898\uff0c\u53ef\u80fd\u9700\u8981\u8003\u8651\u820d\u5165\u8bef\u5dee\u3002<\/li>\n<\/ol>\n<p><pre><code class=\"language-python\">def is_valid_triangle(a, b, c):<\/p>\n<p>    # \u68c0\u67e5\u4e09\u89d2\u5f62\u4e0d\u7b49\u5f0f<\/p>\n<p>    return a + b &gt; c and a + c &gt; b and b + c &gt; a<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e3b\u51fd\u6570\u4e2d\u6dfb\u52a0\u8f93\u5165\u9a8c\u8bc1\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">if is_valid_triangle(a, b, c):<\/p>\n<p>    if is_obtuse_triangle(a, b, c):<\/p>\n<p>        print(&quot;\u8fd9\u4e2a\u4e09\u89d2\u5f62\u662f\u949d\u89d2\u4e09\u89d2\u5f62&quot;)<\/p>\n<p>    else:<\/p>\n<p>        print(&quot;\u8fd9\u4e2a\u4e09\u89d2\u5f62\u4e0d\u662f\u949d\u89d2\u4e09\u89d2\u5f62&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(&quot;\u8f93\u5165\u7684\u8fb9\u957f\u4e0d\u80fd\u7ec4\u6210\u4e00\u4e2a\u6709\u6548\u7684\u4e09\u89d2\u5f62&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7\u4f7f\u7528Python\u548c\u4f59\u5f26\u5b9a\u7406\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u5224\u65ad\u4e00\u4e2a\u4e09\u89d2\u5f62\u662f\u5426\u4e3a\u949d\u89d2\u4e09\u89d2\u5f62\u3002\u672c\u6587\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u5b9e\u73b0\u8fc7\u7a0b\uff0c\u5305\u62ec\u6570\u5b66\u57fa\u7840\u3001\u4ee3\u7801\u5b9e\u73b0\u548c\u5e94\u7528\u573a\u666f\u3002\u5e0c\u671b\u8fd9\u4e9b\u4fe1\u606f\u80fd\u5e2e\u52a9\u4f60\u5728\u5b9e\u9645\u9879\u76ee\u4e2d\u66f4\u597d\u5730\u5e94\u7528\u548c\u7406\u89e3\u51e0\u4f55\u95ee\u9898\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5224\u65ad\u4e00\u4e2a\u4e09\u89d2\u5f62\u662f\u5426\u4e3a\u949d\u89d2\u4e09\u89d2\u5f62\uff1f<\/strong><br \/>\u8981\u5224\u65ad\u4e00\u4e2a\u4e09\u89d2\u5f62\u662f\u5426\u4e3a\u949d\u89d2\u4e09\u89d2\u5f62\uff0c\u53ef\u4ee5\u901a\u8fc7\u4e09\u89d2\u5f62\u7684\u4e09\u6761\u8fb9\u7684\u957f\u5ea6\u6765\u8ba1\u7b97\u89d2\u5ea6\u3002\u5177\u4f53\u65b9\u6cd5\u662f\u4f7f\u7528\u4f59\u5f26\u5b9a\u7406\uff1a\u5bf9\u4e8e\u4e09\u89d2\u5f62\u7684\u4e09\u8fb9a\u3001b\u3001c\uff0c\u82e5\u5176\u4e2d\u4e00\u8fb9\u7684\u5e73\u65b9\u5927\u4e8e\u53e6\u5916\u4e24\u8fb9\u5e73\u65b9\u4e4b\u548c\uff0c\u5219\u8be5\u4e09\u89d2\u5f62\u4e3a\u949d\u89d2\u4e09\u89d2\u5f62\u3002\u4f8b\u5982\uff0c\u5982\u679cc\u662f\u6700\u957f\u8fb9\uff0c\u5219\u9700\u8981\u9a8c\u8bc1c\u00b2 &gt; a\u00b2 + b\u00b2\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u5982\u4f55\u5b9e\u73b0\u949d\u89d2\u4e09\u89d2\u5f62\u7684\u5224\u65ad\uff1f<\/strong><br \/>\u53ef\u4ee5\u4f7f\u7528Python\u7f16\u5199\u4e00\u4e2a\u7b80\u5355\u7684\u51fd\u6570\u6765\u5224\u65ad\u4e09\u89d2\u5f62\u7684\u7c7b\u578b\u3002\u8f93\u5165\u4e09\u6761\u8fb9\u7684\u957f\u5ea6\uff0c\u8ba1\u7b97\u5e76\u5224\u65ad\u662f\u5426\u6ee1\u8db3\u949d\u89d2\u4e09\u89d2\u5f62\u7684\u6761\u4ef6\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\u4ee3\u7801\uff1a  <\/p>\n<pre><code class=\"language-python\">def is_obtuse_triangle(a, b, c):\n    sides = sorted([a, b, c])  # \u6392\u5e8f\u8fb9\u957f\n    return sides[2]&lt;strong&gt;2 &gt; sides[0]&lt;\/strong&gt;2 + sides[1]**2\n\n# \u793a\u4f8b\nprint(is_obtuse_triangle(3, 4, 5))  # \u8f93\u51fa\uff1aFalse\nprint(is_obtuse_triangle(4, 5, 7))  # \u8f93\u51fa\uff1aTrue\n<\/code><\/pre>\n<p><strong>\u5224\u65ad\u949d\u89d2\u4e09\u89d2\u5f62\u65f6\u9700\u8981\u8003\u8651\u54ea\u4e9b\u8fb9\u7684\u6761\u4ef6\uff1f<\/strong><br \/>\u5728\u5224\u65ad\u662f\u5426\u4e3a\u949d\u89d2\u4e09\u89d2\u5f62\u65f6\uff0c\u786e\u4fdd\u8f93\u5165\u7684\u4e09\u6761\u8fb9\u7b26\u5408\u4e09\u89d2\u5f62\u7684\u6210\u7acb\u6761\u4ef6\uff0c\u5373\u4efb\u610f\u4e24\u8fb9\u4e4b\u548c\u5927\u4e8e\u7b2c\u4e09\u8fb9\u3002\u53ea\u6709\u5728\u6ee1\u8db3\u8fd9\u4e2a\u6761\u4ef6\u4e0b\uff0c\u624d\u80fd\u8fdb\u884c\u949d\u89d2\u7684\u5224\u65ad\u3002<\/p>\n<p><strong>\u9664\u4e86\u949d\u89d2\u4e09\u89d2\u5f62\uff0c\u8fd8\u6709\u54ea\u4e9b\u4e09\u89d2\u5f62\u7c7b\u578b\u53ef\u4ee5\u5224\u65ad\uff1f<\/strong><br \/>\u9664\u4e86\u949d\u89d2\u4e09\u89d2\u5f62\uff0c\u4e09\u89d2\u5f62\u8fd8\u53ef\u4ee5\u5206\u4e3a\u9510\u89d2\u4e09\u89d2\u5f62\u548c\u76f4\u89d2\u4e09\u89d2\u5f62\u3002\u9510\u89d2\u4e09\u89d2\u5f62\u7684\u6240\u6709\u5185\u89d2\u5747\u5c0f\u4e8e90\u5ea6\uff0c\u76f4\u89d2\u4e09\u89d2\u5f62\u81f3\u5c11\u6709\u4e00\u4e2a\u5185\u89d2\u7b49\u4e8e90\u5ea6\u3002\u53ef\u4ee5\u901a\u8fc7\u7c7b\u4f3c\u7684\u65b9\u6cd5\u4f7f\u7528\u8fb9\u7684\u5e73\u65b9\u548c\u8fdb\u884c\u5224\u65ad\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u5224\u65ad\u4e00\u4e2a\u4e09\u89d2\u5f62\u662f\u5426\u4e3a\u949d\u89d2\u4e09\u89d2\u5f62\uff0c\u53ef\u4ee5\u901a\u8fc7\u8ba1\u7b97\u4e09\u89d2\u5f62\u7684\u4e09\u4e2a\u89d2\u5ea6\uff0c\u5e76\u68c0\u67e5\u662f\u5426\u5176\u4e2d\u6709\u4e00\u4e2a\u89d2\u5ea6\u5927\u4e8e90 [&hellip;]","protected":false},"author":3,"featured_media":1136717,"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\/1136713"}],"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=1136713"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1136713\/revisions"}],"predecessor-version":[{"id":1136721,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1136713\/revisions\/1136721"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1136717"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1136713"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1136713"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1136713"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}