{"id":1054303,"date":"2024-12-31T14:41:13","date_gmt":"2024-12-31T06:41:13","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1054303.html"},"modified":"2024-12-31T14:41:15","modified_gmt":"2024-12-31T06:41:15","slug":"python%e4%b8%ad%e5%a6%82%e4%bd%95%e5%b0%86%e6%95%b0%e5%ad%97%e5%bc%80%e6%a0%b9","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1054303.html","title":{"rendered":"python\u4e2d\u5982\u4f55\u5c06\u6570\u5b57\u5f00\u6839"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-docs.pingcode.com\/wp-content\/uploads\/2024\/12\/32cecaca-54c5-447b-8973-3ebe7b418641.webp?x-oss-process=image\/auto-orient,1\/format,webp\" alt=\"python\u4e2d\u5982\u4f55\u5c06\u6570\u5b57\u5f00\u6839\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u5c06\u6570\u5b57\u5f00\u6839\uff1a\u4f7f\u7528\u5185\u7f6e\u7684<code>math.sqrt()<\/code>\u51fd\u6570\u3001\u4f7f\u7528\u5e42\u8fd0\u7b97\u7b26<code>&lt;\/strong&gt;<\/code>\u3001\u4f7f\u7528<code>cmath<\/code>\u6a21\u5757\u3002<strong> \u5176\u4e2d\uff0c\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u662f\u4f7f\u7528<code>math<\/code>\u6a21\u5757\u4e2d\u7684<code>sqrt<\/code>\u51fd\u6570\uff0c\u5b83\u4e13\u95e8\u7528\u4e8e\u8ba1\u7b97\u5e73\u65b9\u6839\u3002\u53e6\u4e00\u79cd\u5e38\u89c1\u7684\u65b9\u6cd5\u662f\u4f7f\u7528\u5e42\u8fd0\u7b97\u7b26<code>&lt;\/strong&gt;<\/code>\uff0c\u53ef\u4ee5\u901a\u8fc7\u5c06\u6570\u5b57\u7684\u6307\u6570\u8bbe\u7f6e\u4e3a0.5\u6765\u8ba1\u7b97\u5e73\u65b9\u6839\u3002\u6b64\u5916\uff0c\u5982\u679c\u5904\u7406\u7684\u662f\u590d\u6570\uff0c\u8fd8\u53ef\u4ee5\u4f7f\u7528<code>cmath<\/code>\u6a21\u5757\u4e2d\u7684<code>sqrt<\/code>\u51fd\u6570\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u6bcf\u79cd\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528<code>math.sqrt()<\/code>\u51fd\u6570<\/h3>\n<\/p>\n<p><p><code>math<\/code>\u6a21\u5757\u662fPython\u4e2d\u4e00\u4e2a\u975e\u5e38\u91cd\u8981\u7684\u6a21\u5757\uff0c\u63d0\u4f9b\u4e86\u8bb8\u591a\u6570\u5b66\u51fd\u6570\uff0c<code>sqrt<\/code>\u51fd\u6570\u5c31\u662f\u5176\u4e2d\u4e4b\u4e00\u3002<code>math.sqrt(x)<\/code>\u51fd\u6570\u7528\u4e8e\u8fd4\u56de\u6570\u5b57x\u7684\u5e73\u65b9\u6839\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import math<\/p>\n<h2><strong>\u8ba1\u7b97\u6570\u5b5716\u7684\u5e73\u65b9\u6839<\/strong><\/h2>\n<p>number = 16<\/p>\n<p>sqrt_value = math.sqrt(number)<\/p>\n<p>print(f&quot;{number}\u7684\u5e73\u65b9\u6839\u662f\uff1a{sqrt_value}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u9996\u5148\u5bfc\u5165\u4e86<code>math<\/code>\u6a21\u5757\uff0c\u7136\u540e\u4f7f\u7528<code>math.sqrt()<\/code>\u51fd\u6570\u8ba1\u7b97\u6570\u5b5716\u7684\u5e73\u65b9\u6839\uff0c\u5e76\u8f93\u51fa\u7ed3\u679c\u3002\u8fd9\u662f\u6700\u76f4\u63a5\u4e5f\u662f\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u4e4b\u4e00\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528\u5e42\u8fd0\u7b97\u7b26<code><\/code><\/h3>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u5e42\u8fd0\u7b97\u7b26<code><\/code>\u6765\u8ba1\u7b97\u6570\u5b57\u7684\u5e42\u3002\u4f8b\u5982\uff0c\u8ba1\u7b97\u6570\u5b57\u7684\u5e73\u65b9\u6839\u53ef\u4ee5\u901a\u8fc7\u5c06\u5176\u6307\u6570\u8bbe\u7f6e\u4e3a0.5\u6765\u5b9e\u73b0\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u8ba1\u7b97\u6570\u5b5716\u7684\u5e73\u65b9\u6839<\/p>\n<p>number = 16<\/p>\n<p>sqrt_value = number  0.5<\/p>\n<p>print(f&quot;{number}\u7684\u5e73\u65b9\u6839\u662f\uff1a{sqrt_value}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u5c06\u6570\u5b5716\u7684\u6307\u6570\u8bbe\u7f6e\u4e3a0.5\uff0c\u4ece\u800c\u5f97\u5230\u4e86\u5b83\u7684\u5e73\u65b9\u6839\u3002\u8fd9\u79cd\u65b9\u6cd5\u975e\u5e38\u7b80\u6d01\u660e\u4e86\uff0c\u4f46\u5728\u5904\u7406\u8d1f\u6570\u65f6\u53ef\u80fd\u4f1a\u9047\u5230\u95ee\u9898\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528<code>cmath<\/code>\u6a21\u5757<\/h3>\n<\/p>\n<p><p>\u5982\u679c\u9700\u8981\u8ba1\u7b97\u590d\u6570\u7684\u5e73\u65b9\u6839\uff0c\u53ef\u4ee5\u4f7f\u7528<code>cmath<\/code>\u6a21\u5757\u3002<code>cmath<\/code>\u6a21\u5757\u662f\u4e13\u95e8\u7528\u4e8e\u5904\u7406\u590d\u6570\u7684\u6570\u5b66\u8fd0\u7b97\u7684\u6a21\u5757\uff0c\u5b83\u63d0\u4f9b\u4e86\u4e0e<code>math<\/code>\u6a21\u5757\u7c7b\u4f3c\u7684\u51fd\u6570\uff0c\u5305\u62ec<code>sqrt<\/code>\u51fd\u6570\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import cmath<\/p>\n<h2><strong>\u8ba1\u7b97\u590d\u6570\u7684\u5e73\u65b9\u6839<\/strong><\/h2>\n<p>complex_number = -16<\/p>\n<p>sqrt_value = cmath.sqrt(complex_number)<\/p>\n<p>print(f&quot;{complex_number}\u7684\u5e73\u65b9\u6839\u662f\uff1a{sqrt_value}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u9996\u5148\u5bfc\u5165\u4e86<code>cmath<\/code>\u6a21\u5757\uff0c\u7136\u540e\u4f7f\u7528<code>cmath.sqrt()<\/code>\u51fd\u6570\u8ba1\u7b97\u590d\u6570-16\u7684\u5e73\u65b9\u6839\uff0c\u5e76\u8f93\u51fa\u7ed3\u679c\u3002\u4e0e<code>math.sqrt()<\/code>\u51fd\u6570\u4e0d\u540c\uff0c<code>cmath.sqrt()<\/code>\u51fd\u6570\u53ef\u4ee5\u5904\u7406\u8d1f\u6570\uff0c\u5e76\u8fd4\u56de\u4e00\u4e2a\u590d\u6570\u7ed3\u679c\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u4f7f\u7528<code>numpy<\/code>\u5e93<\/h3>\n<\/p>\n<p><p><code>numpy<\/code>\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u79d1\u5b66\u8ba1\u7b97\u5e93\uff0c\u63d0\u4f9b\u4e86\u8bb8\u591a\u7528\u4e8e\u6570\u7ec4\u548c\u77e9\u9635\u8fd0\u7b97\u7684\u51fd\u6570\u3002<code>numpy<\/code>\u5e93\u4e2d\u7684<code>np.sqrt()<\/code>\u51fd\u6570\u53ef\u4ee5\u7528\u4e8e\u8ba1\u7b97\u6570\u7ec4\u4e2d\u6bcf\u4e2a\u5143\u7d20\u7684\u5e73\u65b9\u6839\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import numpy as np<\/p>\n<h2><strong>\u521b\u5efa\u4e00\u4e2a\u5305\u542b\u591a\u4e2a\u6570\u5b57\u7684\u6570\u7ec4<\/strong><\/h2>\n<p>numbers = np.array([4, 9, 16, 25])<\/p>\n<h2><strong>\u8ba1\u7b97\u6570\u7ec4\u4e2d\u6bcf\u4e2a\u6570\u5b57\u7684\u5e73\u65b9\u6839<\/strong><\/h2>\n<p>sqrt_values = np.sqrt(numbers)<\/p>\n<p>print(f&quot;\u6570\u7ec4{numbers}\u7684\u5e73\u65b9\u6839\u662f\uff1a{sqrt_values}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u9996\u5148\u5bfc\u5165\u4e86<code>numpy<\/code>\u5e93\uff0c\u7136\u540e\u521b\u5efa\u4e86\u4e00\u4e2a\u5305\u542b\u591a\u4e2a\u6570\u5b57\u7684\u6570\u7ec4\u3002\u63a5\u7740\uff0c\u6211\u4eec\u4f7f\u7528<code>np.sqrt()<\/code>\u51fd\u6570\u8ba1\u7b97\u6570\u7ec4\u4e2d\u6bcf\u4e2a\u6570\u5b57\u7684\u5e73\u65b9\u6839\uff0c\u5e76\u8f93\u51fa\u7ed3\u679c\u3002\u8fd9\u79cd\u65b9\u6cd5\u975e\u5e38\u9002\u5408\u5904\u7406\u5927\u91cf\u6570\u636e\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u4f7f\u7528<code>sympy<\/code>\u5e93<\/h3>\n<\/p>\n<p><p><code>sympy<\/code>\u662f\u4e00\u4e2a\u7528\u4e8e\u7b26\u53f7\u6570\u5b66\u8ba1\u7b97\u7684Python\u5e93\uff0c\u63d0\u4f9b\u4e86\u8bb8\u591a\u7528\u4e8e\u7b26\u53f7\u8fd0\u7b97\u7684\u51fd\u6570\u3002<code>sympy<\/code>\u5e93\u4e2d\u7684<code>sqrt()<\/code>\u51fd\u6570\u53ef\u4ee5\u7528\u4e8e\u8ba1\u7b97\u7b26\u53f7\u8868\u8fbe\u5f0f\u7684\u5e73\u65b9\u6839\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import sympy as sp<\/p>\n<h2><strong>\u521b\u5efa\u4e00\u4e2a\u7b26\u53f7\u53d8\u91cf<\/strong><\/h2>\n<p>x = sp.symbols(&#39;x&#39;)<\/p>\n<h2><strong>\u5b9a\u4e49\u4e00\u4e2a\u7b26\u53f7\u8868\u8fbe\u5f0f<\/strong><\/h2>\n<p>expression = x2 - 4<\/p>\n<h2><strong>\u8ba1\u7b97\u7b26\u53f7\u8868\u8fbe\u5f0f\u7684\u5e73\u65b9\u6839<\/strong><\/h2>\n<p>sqrt_value = sp.sqrt(expression)<\/p>\n<p>print(f&quot;\u8868\u8fbe\u5f0f{x2 - 4}\u7684\u5e73\u65b9\u6839\u662f\uff1a{sqrt_value}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u9996\u5148\u5bfc\u5165\u4e86<code>sympy<\/code>\u5e93\uff0c\u7136\u540e\u521b\u5efa\u4e86\u4e00\u4e2a\u7b26\u53f7\u53d8\u91cf\uff0c\u5e76\u5b9a\u4e49\u4e86\u4e00\u4e2a\u7b26\u53f7\u8868\u8fbe\u5f0f\u3002\u63a5\u7740\uff0c\u6211\u4eec\u4f7f\u7528<code>sp.sqrt()<\/code>\u51fd\u6570\u8ba1\u7b97\u7b26\u53f7\u8868\u8fbe\u5f0f\u7684\u5e73\u65b9\u6839\uff0c\u5e76\u8f93\u51fa\u7ed3\u679c\u3002\u8fd9\u79cd\u65b9\u6cd5\u975e\u5e38\u9002\u5408\u5904\u7406\u7b26\u53f7\u8fd0\u7b97\u3002<\/p>\n<\/p>\n<p><h3>\u516d\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u5c06\u6570\u5b57\u5f00\u6839\uff0c\u5305\u62ec\u4f7f\u7528<code>math.sqrt()<\/code>\u51fd\u6570\u3001\u5e42\u8fd0\u7b97\u7b26<code>&lt;strong&gt;<\/code>\u3001<code>cmath<\/code>\u6a21\u5757\u3001<code>numpy<\/code>\u5e93\u548c<code>sympy<\/code>\u5e93\u7b49\u3002\u5176\u4e2d\uff0c<\/strong><code>math.sqrt()<\/code>\u51fd\u6570<strong>\u662f\u6700\u5e38\u7528\u7684\u65b9\u6cd5\uff0c\u56e0\u4e3a\u5b83\u7b80\u5355\u6613\u7528\uff0c\u9002\u7528\u4e8e\u5927\u591a\u6570\u60c5\u51b5\u3002<\/strong>\u5e42\u8fd0\u7b97\u7b26<code>&lt;strong&gt;<\/code><\/strong>\u4e5f\u662f\u4e00\u79cd\u5e38\u89c1\u7684\u65b9\u6cd5\uff0c\u4f46\u5728\u5904\u7406\u8d1f\u6570\u65f6\u9700\u8981\u8c28\u614e\u3002\u5bf9\u4e8e\u590d\u6570\uff0c\u53ef\u4ee5\u4f7f\u7528<strong><code>cmath<\/code>\u6a21\u5757<\/strong>\uff0c\u5b83\u63d0\u4f9b\u4e86\u4e13\u95e8\u7528\u4e8e\u5904\u7406\u590d\u6570\u7684\u6570\u5b66\u51fd\u6570\u3002\u5bf9\u4e8e\u6570\u7ec4\u548c\u77e9\u9635\u8fd0\u7b97\uff0c\u53ef\u4ee5\u4f7f\u7528<strong><code>numpy<\/code>\u5e93<\/strong>\uff0c\u5b83\u63d0\u4f9b\u4e86\u9ad8\u6548\u7684\u6570\u7ec4\u8fd0\u7b97\u51fd\u6570\u3002\u5bf9\u4e8e\u7b26\u53f7\u8fd0\u7b97\uff0c\u53ef\u4ee5\u4f7f\u7528<strong><code>sympy<\/code>\u5e93<\/strong>\uff0c\u5b83\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u7b26\u53f7\u8fd0\u7b97\u529f\u80fd\u3002<\/p>\n<\/p>\n<p><p>\u65e0\u8bba\u9009\u62e9\u54ea\u79cd\u65b9\u6cd5\uff0c\u90fd\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u5de5\u5177\uff0c\u7075\u6d3b\u8fd0\u7528Python\u7684\u5f3a\u5927\u529f\u80fd\u6765\u89e3\u51b3\u6570\u5b66\u95ee\u9898\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5728Python\u4e2d\uff0c\u5982\u4f55\u5bf9\u6570\u5b57\u8fdb\u884c\u5f00\u6839\u8fd0\u7b97\uff1f<\/strong><\/p>\n<p>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u5185\u7f6e\u7684<code>math<\/code>\u6a21\u5757\u6765\u8fdb\u884c\u5f00\u6839\u8fd0\u7b97\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u4f7f\u7528<code>math.sqrt()<\/code>\u51fd\u6570\u53ef\u4ee5\u8ba1\u7b97\u4e00\u4e2a\u6570\u7684\u5e73\u65b9\u6839\u3002\u4f8b\u5982\uff0c\u5982\u679c\u4f60\u60f3\u8ba1\u7b979\u7684\u5e73\u65b9\u6839\uff0c\u53ef\u4ee5\u8fd9\u6837\u5199\uff1a<\/p>\n<pre><code class=\"language-python\">import math\n\nresult = math.sqrt(9)\nprint(result)  # \u8f93\u51fa: 3.0\n<\/code><\/pre>\n<p>\u6b64\u5916\uff0c<code>&lt;strong&gt;<\/code>\u8fd0\u7b97\u7b26\u4e5f\u662f\u4e00\u4e2a\u7b80\u4fbf\u7684\u65b9\u6cd5\uff0c\u53ef\u4ee5\u7528\u6765\u8ba1\u7b97\u4efb\u610f\u6b21\u65b9\u7684\u6839\u3002\u6bd4\u5982\uff0c\u8ba1\u7b97x\u7684\u5e73\u65b9\u6839\u53ef\u4ee5\u5199\u6210<code>x &lt;\/strong&gt; 0.5<\/code>\u3002\u793a\u4f8b\u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"language-python\">x = 25\nresult = x ** 0.5\nprint(result)  # \u8f93\u51fa: 5.0\n<\/code><\/pre>\n<p><strong>\u5728Python\u4e2d\uff0c\u5982\u4f55\u5904\u7406\u8d1f\u6570\u5f00\u6839\u7684\u95ee\u9898\uff1f<\/strong><\/p>\n<p>\u5982\u679c\u5c1d\u8bd5\u5bf9\u8d1f\u6570\u8fdb\u884c\u5f00\u6839\u8fd0\u7b97\uff0c\u4f1a\u5bfc\u81f4\u9519\u8bef\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u53ef\u4ee5\u4f7f\u7528\u590d\u6570\u6765\u89e3\u51b3\u3002Python\u652f\u6301\u590d\u6570\u8fd0\u7b97\uff0c\u901a\u8fc7<code>complex<\/code>\u7c7b\u578b\u53ef\u4ee5\u5904\u7406\u8d1f\u6570\u7684\u5e73\u65b9\u6839\u3002\u4f8b\u5982\uff0c\u8ba1\u7b97-1\u7684\u5e73\u65b9\u6839\u53ef\u4ee5\u8fd9\u6837\u5b9e\u73b0\uff1a<\/p>\n<pre><code class=\"language-python\">import cmath\n\nresult = cmath.sqrt(-1)\nprint(result)  # \u8f93\u51fa: 1j\n<\/code><\/pre>\n<p>\u4f7f\u7528<code>cmath<\/code>\u6a21\u5757\u53ef\u4ee5\u5904\u7406\u590d\u6570\u8fd0\u7b97\uff0c\u786e\u4fdd\u5728\u9700\u8981\u65f6\u80fd\u591f\u6b63\u786e\u8ba1\u7b97\u8d1f\u6570\u7684\u5e73\u65b9\u6839\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\uff0c\u5982\u4f55\u5f00\u7acb\u65b9\u6839\u6216\u5176\u4ed6\u6b21\u65b9\u6839\uff1f<\/strong><\/p>\n<p>\u9664\u4e86\u5e73\u65b9\u6839\u5916\uff0cPython\u4e5f\u652f\u6301\u8ba1\u7b97\u5176\u4ed6\u6b21\u65b9\u6839\u3002\u5bf9\u4e8e\u7acb\u65b9\u6839\uff0c\u53ef\u4ee5\u4f7f\u7528<code>** (1\/3)<\/code>\u6765\u5b9e\u73b0\u3002\u4f8b\u5982\uff0c\u8ba1\u7b9727\u7684\u7acb\u65b9\u6839\uff1a<\/p>\n<pre><code class=\"language-python\">x = 27\nresult = x ** (1\/3)\nprint(result)  # \u8f93\u51fa: 3.0\n<\/code><\/pre>\n<p>\u5bf9\u4e8e\u66f4\u9ad8\u6b21\u65b9\u6839\uff0c\u4f8b\u5982\u56db\u6b21\u65b9\u6839\uff0c\u53ef\u4ee5\u4f7f\u7528<code>** (1\/4)<\/code>\u6765\u8ba1\u7b97\u3002Python\u7684\u7075\u6d3b\u6027\u5141\u8bb8\u7528\u6237\u8f7b\u677e\u5904\u7406\u4e0d\u540c\u7684\u5f00\u6839\u9700\u6c42\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u5c06\u6570\u5b57\u5f00\u6839\uff1a\u4f7f\u7528\u5185\u7f6e\u7684math.sqrt()\u51fd\u6570\u3001\u4f7f\u7528\u5e42\u8fd0\u7b97\u7b26&lt;\/st [&hellip;]","protected":false},"author":3,"featured_media":1054309,"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\/1054303"}],"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=1054303"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1054303\/revisions"}],"predecessor-version":[{"id":1054311,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1054303\/revisions\/1054311"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1054309"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1054303"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1054303"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1054303"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}