{"id":1068228,"date":"2024-12-31T16:41:34","date_gmt":"2024-12-31T08:41:34","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1068228.html"},"modified":"2024-12-31T16:41:37","modified_gmt":"2024-12-31T08:41:37","slug":"python%e5%a6%82%e4%bd%95%e8%ae%a1%e7%ae%97%e7%90%83%e7%9a%84%e6%88%91%e8%a1%a8%e9%9d%a2%e7%a7%af","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1068228.html","title":{"rendered":"python\u5982\u4f55\u8ba1\u7b97\u7403\u7684\u6211\u8868\u9762\u79ef"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-docs.pingcode.com\/wp-content\/uploads\/2024\/12\/bc7eaafe-9d3d-4300-8f50-0d59892dceee.webp?x-oss-process=image\/auto-orient,1\/format,webp\" alt=\"python\u5982\u4f55\u8ba1\u7b97\u7403\u7684\u6211\u8868\u9762\u79ef\" \/><\/p>\n<p><p> <strong>Python\u8ba1\u7b97\u7403\u7684\u8868\u9762\u79ef\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u7403\u8868\u9762\u79ef\u516c\u5f0f\uff1a<\/strong> 4\u03c0r\u00b2\uff0c\u5176\u4e2d r \u662f\u7403\u7684\u534a\u5f84\uff0c\u03c0 \u662f\u5706\u5468\u7387\u3002<strong>\u5bfc\u5165 math \u6a21\u5757\u4e2d\u7684 \u03c0 \u5e38\u91cf\uff0c\u5e76\u5b9a\u4e49\u4e00\u4e2a\u51fd\u6570\u6765\u8ba1\u7b97\u8868\u9762\u79ef\u3001\u4f7f\u7528\u7b80\u5355\u7684\u6570\u5b66\u8fd0\u7b97\u5373\u53ef\u5b8c\u6210\u3002<\/strong> <\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import math<\/p>\n<p>def calculate_sphere_surface_area(radius):<\/p>\n<p>    return 4 * math.pi * radius  2<\/p>\n<h2><strong>\u793a\u4f8b\u4f7f\u7528<\/strong><\/h2>\n<p>radius = 5<\/p>\n<p>surface_area = calculate_sphere_surface_area(radius)<\/p>\n<p>print(f&quot;\u534a\u5f84\u4e3a {radius} \u7684\u7403\u4f53\u8868\u9762\u79ef\u4e3a: {surface_area}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u8be6\u7ec6\u63cf\u8ff0\uff1a<\/strong><br \/>\u9996\u5148\uff0c\u6211\u4eec\u5bfc\u5165 math \u6a21\u5757\uff0c\u56e0\u4e3a\u5b83\u5305\u542b\u4e86\u5706\u5468\u7387 \u03c0 \u7684\u5e38\u91cf\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5b9a\u4e49\u4e00\u4e2a\u51fd\u6570 calculate_sphere_surface_area\uff0c\u8be5\u51fd\u6570\u63a5\u53d7\u4e00\u4e2a\u53c2\u6570 radius\uff08\u5373\u7403\u7684\u534a\u5f84\uff09\u3002\u5728\u51fd\u6570\u5185\u90e8\uff0c\u6211\u4eec\u5229\u7528\u7403\u8868\u9762\u79ef\u7684\u516c\u5f0f 4\u03c0r\u00b2 \u6765\u8ba1\u7b97\u8868\u9762\u79ef\uff0c\u5e76\u8fd4\u56de\u8ba1\u7b97\u7ed3\u679c\u3002\u5728\u793a\u4f8b\u4f7f\u7528\u4e2d\uff0c\u6211\u4eec\u7ed9\u5b9a\u4e00\u4e2a\u534a\u5f84\u503c\uff08\u4f8b\u59825\uff09\uff0c\u7136\u540e\u8c03\u7528\u51fd\u6570 calculate_sphere_surface_area \u6765\u8ba1\u7b97\u5e76\u8f93\u51fa\u5bf9\u5e94\u7684\u7403\u4f53\u8868\u9762\u79ef\u3002<\/p>\n<\/p>\n<hr>\n<p><p><strong>\u4e00\u3001\u5bfc\u5165\u6570\u5b66\u6a21\u5757<\/strong><\/p>\n<\/p>\n<p><p>Python \u63d0\u4f9b\u4e86\u4e00\u4e2a\u540d\u4e3a math \u7684\u5185\u5efa\u6a21\u5757\uff0c\u8be5\u6a21\u5757\u5305\u542b\u4e86\u8bb8\u591a\u6709\u7528\u7684\u6570\u5b66\u51fd\u6570\u548c\u5e38\u91cf\u3002\u4e3a\u4e86\u8ba1\u7b97\u7403\u7684\u8868\u9762\u79ef\uff0c\u6211\u4eec\u9700\u8981\u7528\u5230 \u03c0\uff08pi\uff09\u8fd9\u4e2a\u5e38\u91cf\u3002\u901a\u8fc7\u5bfc\u5165 math \u6a21\u5757\uff0c\u6211\u4eec\u53ef\u4ee5\u65b9\u4fbf\u5730\u4f7f\u7528 math.pi \u6765\u4ee3\u8868 \u03c0\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import math<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u4e8c\u3001\u5b9a\u4e49\u8ba1\u7b97\u51fd\u6570<\/strong><\/p>\n<\/p>\n<p><p>\u5b9a\u4e49\u4e00\u4e2a\u51fd\u6570\u6765\u8ba1\u7b97\u7403\u7684\u8868\u9762\u79ef\u662f\u4e00\u4e2a\u826f\u597d\u7684\u7f16\u7a0b\u4e60\u60ef\u3002\u51fd\u6570\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u5c06\u4ee3\u7801\u7ec4\u7ec7\u5f97\u66f4\u597d\uff0c\u4f7f\u5176\u66f4\u6613\u8bfb\u3001\u6613\u7ef4\u62a4\u3002\u6211\u4eec\u53ef\u4ee5\u5b9a\u4e49\u4e00\u4e2a\u540d\u4e3a calculate_sphere_surface_area \u7684\u51fd\u6570\uff0c\u8be5\u51fd\u6570\u63a5\u53d7\u4e00\u4e2a\u53c2\u6570 radius\uff08\u7403\u7684\u534a\u5f84\uff09\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def calculate_sphere_surface_area(radius):<\/p>\n<p>    return 4 * math.pi * radius  2<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u4e09\u3001\u4f7f\u7528\u51fd\u6570\u8ba1\u7b97\u8868\u9762\u79ef<\/strong><\/p>\n<\/p>\n<p><p>\u5b9a\u4e49\u51fd\u6570\u4e4b\u540e\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u8be5\u51fd\u6570\u6765\u8ba1\u7b97\u5177\u4f53\u7403\u4f53\u7684\u8868\u9762\u79ef\u3002\u6211\u4eec\u53ea\u9700\u8981\u7ed9\u5b9a\u7403\u7684\u534a\u5f84\u503c\uff0c\u7136\u540e\u8c03\u7528\u51fd\u6570 calculate_sphere_surface_area\uff0c\u5373\u53ef\u5f97\u5230\u76f8\u5e94\u7684\u8868\u9762\u79ef\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u793a\u4f8b\u4f7f\u7528<\/p>\n<p>radius = 5<\/p>\n<p>surface_area = calculate_sphere_surface_area(radius)<\/p>\n<p>print(f&quot;\u534a\u5f84\u4e3a {radius} \u7684\u7403\u4f53\u8868\u9762\u79ef\u4e3a: {surface_area}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u56db\u3001\u5904\u7406\u7528\u6237\u8f93\u5165<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u6211\u4eec\u901a\u5e38\u9700\u8981\u5904\u7406\u7528\u6237\u8f93\u5165\u7684\u503c\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7 input() \u51fd\u6570\u6765\u83b7\u53d6\u7528\u6237\u8f93\u5165\u7684\u534a\u5f84\u503c\uff0c\u5e76\u786e\u4fdd\u5c06\u8be5\u503c\u8f6c\u6362\u4e3a\u6d6e\u70b9\u6570\u7c7b\u578b\uff0c\u4ee5\u4fbf\u8fdb\u884c\u6570\u5b66\u8fd0\u7b97\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">radius = float(input(&quot;\u8bf7\u8f93\u5165\u7403\u7684\u534a\u5f84: &quot;))<\/p>\n<p>surface_area = calculate_sphere_surface_area(radius)<\/p>\n<p>print(f&quot;\u534a\u5f84\u4e3a {radius} \u7684\u7403\u4f53\u8868\u9762\u79ef\u4e3a: {surface_area}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u4e94\u3001\u9519\u8bef\u5904\u7406<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u7f16\u5199\u7a0b\u5e8f\u65f6\uff0c\u5904\u7406\u53ef\u80fd\u51fa\u73b0\u7684\u9519\u8bef\u662f\u975e\u5e38\u91cd\u8981\u7684\u3002\u4f8b\u5982\uff0c\u7528\u6237\u53ef\u80fd\u4f1a\u8f93\u5165\u4e00\u4e2a\u65e0\u6548\u7684\u503c\uff08\u5982\u8d1f\u6570\u6216\u975e\u6570\u5b57\u5b57\u7b26\uff09\u3002\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528 try-except \u8bed\u53e5\u6765\u6355\u83b7\u8fd9\u4e9b\u9519\u8bef\uff0c\u5e76\u5411\u7528\u6237\u63d0\u4f9b\u53cb\u597d\u7684\u9519\u8bef\u63d0\u793a\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">try:<\/p>\n<p>    radius = float(input(&quot;\u8bf7\u8f93\u5165\u7403\u7684\u534a\u5f84: &quot;))<\/p>\n<p>    if radius &lt; 0:<\/p>\n<p>        r<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>se ValueError(&quot;\u534a\u5f84\u4e0d\u80fd\u4e3a\u8d1f\u6570&quot;)<\/p>\n<p>    surface_area = calculate_sphere_surface_area(radius)<\/p>\n<p>    print(f&quot;\u534a\u5f84\u4e3a {radius} \u7684\u7403\u4f53\u8868\u9762\u79ef\u4e3a: {surface_area}&quot;)<\/p>\n<p>except ValueError as e:<\/p>\n<p>    print(f&quot;\u8f93\u5165\u9519\u8bef: {e}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u516d\u3001\u6269\u5c55\u529f\u80fd<\/strong><\/p>\n<\/p>\n<p><p>\u9664\u4e86\u8ba1\u7b97\u7403\u7684\u8868\u9762\u79ef\uff0c\u6211\u4eec\u8fd8\u53ef\u4ee5\u6269\u5c55\u7a0b\u5e8f\u7684\u529f\u80fd\uff0c\u4f8b\u5982\u8ba1\u7b97\u7403\u7684\u4f53\u79ef\u3002\u7403\u7684\u4f53\u79ef\u516c\u5f0f\u4e3a (4\/3)\u03c0r\u00b3\u3002\u6211\u4eec\u53ef\u4ee5\u5728\u540c\u4e00\u4e2a\u51fd\u6570\u4e2d\u6dfb\u52a0\u4f53\u79ef\u7684\u8ba1\u7b97\uff0c\u6216\u8005\u5b9a\u4e49\u4e00\u4e2a\u65b0\u7684\u51fd\u6570\u6765\u4e13\u95e8\u8ba1\u7b97\u7403\u7684\u4f53\u79ef\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def calculate_sphere_volume(radius):<\/p>\n<p>    return (4\/3) * math.pi * radius  3<\/p>\n<h2><strong>\u793a\u4f8b\u4f7f\u7528<\/strong><\/h2>\n<p>radius = 5<\/p>\n<p>volume = calculate_sphere_volume(radius)<\/p>\n<p>print(f&quot;\u534a\u5f84\u4e3a {radius} \u7684\u7403\u4f53\u4f53\u79ef\u4e3a: {volume}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u4e03\u3001\u7efc\u5408\u793a\u4f8b<\/strong><\/p>\n<\/p>\n<p><p>\u6700\u540e\uff0c\u6211\u4eec\u53ef\u4ee5\u5c06\u6240\u6709\u529f\u80fd\u6574\u5408\u5230\u4e00\u4e2a\u7efc\u5408\u793a\u4f8b\u4e2d\uff0c\u4f7f\u5176\u6210\u4e3a\u4e00\u4e2a\u5b8c\u6574\u7684\u7a0b\u5e8f\uff0c\u80fd\u591f\u5904\u7406\u7528\u6237\u8f93\u5165\u3001\u8ba1\u7b97\u7403\u7684\u8868\u9762\u79ef\u548c\u4f53\u79ef\uff0c\u5e76\u5904\u7406\u53ef\u80fd\u7684\u8f93\u5165\u9519\u8bef\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import math<\/p>\n<p>def calculate_sphere_surface_area(radius):<\/p>\n<p>    return 4 * math.pi * radius  2<\/p>\n<p>def calculate_sphere_volume(radius):<\/p>\n<p>    return (4\/3) * math.pi * radius  3<\/p>\n<p>def main():<\/p>\n<p>    try:<\/p>\n<p>        radius = float(input(&quot;\u8bf7\u8f93\u5165\u7403\u7684\u534a\u5f84: &quot;))<\/p>\n<p>        if radius &lt; 0:<\/p>\n<p>            raise ValueError(&quot;\u534a\u5f84\u4e0d\u80fd\u4e3a\u8d1f\u6570&quot;)<\/p>\n<p>        surface_area = calculate_sphere_surface_area(radius)<\/p>\n<p>        volume = calculate_sphere_volume(radius)<\/p>\n<p>        print(f&quot;\u534a\u5f84\u4e3a {radius} \u7684\u7403\u4f53\u8868\u9762\u79ef\u4e3a: {surface_area}&quot;)<\/p>\n<p>        print(f&quot;\u534a\u5f84\u4e3a {radius} \u7684\u7403\u4f53\u4f53\u79ef\u4e3a: {volume}&quot;)<\/p>\n<p>    except ValueError as e:<\/p>\n<p>        print(f&quot;\u8f93\u5165\u9519\u8bef: {e}&quot;)<\/p>\n<p>if __name__ == &quot;__main__&quot;:<\/p>\n<p>    main()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u5728 Python \u4e2d\u8ba1\u7b97\u7403\u7684\u8868\u9762\u79ef\uff0c\u5e76\u4e14\u53ef\u4ee5\u5904\u7406\u7528\u6237\u8f93\u5165\u548c\u6f5c\u5728\u7684\u9519\u8bef\u3002\u8fd9\u4e0d\u4ec5\u4f7f\u7a0b\u5e8f\u66f4\u5065\u58ee\uff0c\u800c\u4e14\u63d0\u9ad8\u4e86\u7528\u6237\u4f53\u9a8c\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u4f7f\u7528Python\u8ba1\u7b97\u7403\u7684\u8868\u9762\u79ef\uff1f<\/strong><br \/>\u8981\u8ba1\u7b97\u7403\u7684\u8868\u9762\u79ef\uff0c\u53ef\u4ee5\u4f7f\u7528\u516c\u5f0f (A = 4 \\pi r^2)\uff0c\u5176\u4e2d (A) \u662f\u8868\u9762\u79ef\uff0c(r) \u662f\u7403\u7684\u534a\u5f84\u3002\u4f7f\u7528Python\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u5bfc\u5165<code>math<\/code>\u6a21\u5757\u6765\u83b7\u5f97\u03c0\u7684\u503c\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u793a\u4f8b\u4ee3\u7801\uff1a  <\/p>\n<pre><code class=\"language-python\">import math\n\ndef calculate_sphere_surface_area(radius):\n    return 4 * math.pi * (radius ** 2)\n\nradius = float(input(&quot;\u8bf7\u8f93\u5165\u7403\u7684\u534a\u5f84: &quot;))\nsurface_area = calculate_sphere_surface_area(radius)\nprint(f&quot;\u7403\u7684\u8868\u9762\u79ef\u662f: {surface_area}&quot;)\n<\/code><\/pre>\n<p><strong>\u6211\u53ef\u4ee5\u8f93\u5165\u8d1f\u6570\u4f5c\u4e3a\u534a\u5f84\u5417\uff1f<\/strong><br \/>\u4e0d\u5efa\u8bae\u8f93\u5165\u8d1f\u6570\u4f5c\u4e3a\u534a\u5f84\uff0c\u56e0\u4e3a\u5728\u51e0\u4f55\u5b66\u4e2d\uff0c\u534a\u5f84\u4e0d\u80fd\u4e3a\u8d1f\u3002\u60a8\u53ef\u4ee5\u5728\u4ee3\u7801\u4e2d\u6dfb\u52a0\u9a8c\u8bc1\u903b\u8f91\uff0c\u4ee5\u786e\u4fdd\u7528\u6237\u8f93\u5165\u7684\u662f\u6b63\u6570\u3002\u4f8b\u5982\uff0c\u60a8\u53ef\u4ee5\u5728\u63a5\u6536\u7528\u6237\u8f93\u5165\u540e\u6dfb\u52a0\u4e00\u4e2a\u6761\u4ef6\u5224\u65ad\u6765\u5904\u7406\u8d1f\u6570\u8f93\u5165\u3002<\/p>\n<p><strong>\u6709\u6ca1\u6709\u73b0\u6210\u7684\u5e93\u53ef\u4ee5\u66f4\u65b9\u4fbf\u5730\u8ba1\u7b97\u7403\u7684\u8868\u9762\u79ef\uff1f<\/strong><br \/>\u662f\u7684\uff0cPython\u4e2d\u7684\u4e00\u4e9b\u6570\u5b66\u5e93\u5982<code>SymPy<\/code>\u63d0\u4f9b\u4e86\u66f4\u9ad8\u7ea7\u7684\u6570\u5b66\u8ba1\u7b97\u529f\u80fd\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528\u8fd9\u4e9b\u5e93\u6765\u7b80\u5316\u8ba1\u7b97\u8fc7\u7a0b\u3002\u4f8b\u5982\uff0c\u4f7f\u7528<code>SymPy<\/code>\u5e93\u53ef\u4ee5\u66f4\u76f4\u89c2\u5730\u8ba1\u7b97\u548c\u7b26\u53f7\u5316\u8868\u8fbe\u5f0f\u3002\u5b89\u88c5\u5e93\u540e\uff0c\u53ef\u4ee5\u8fd9\u6837\u505a\uff1a<\/p>\n<pre><code class=\"language-python\">from sympy import pi\n\ndef calculate_sphere_surface_area_with_sympy(radius):\n    return 4 * pi * radius**2\n<\/code><\/pre>\n<p><strong>\u5728\u8ba1\u7b97\u7403\u7684\u8868\u9762\u79ef\u65f6\u9700\u8981\u6ce8\u610f\u54ea\u4e9b\u5355\u4f4d\u95ee\u9898\uff1f<\/strong><br \/>\u5728\u8fdb\u884c\u8ba1\u7b97\u65f6\uff0c\u786e\u4fdd\u8f93\u5165\u7684\u534a\u5f84\u5355\u4f4d\u4e0e\u671f\u671b\u7684\u8868\u9762\u79ef\u5355\u4f4d\u4e00\u81f4\u3002\u4f8b\u5982\uff0c\u5982\u679c\u534a\u5f84\u4ee5\u5398\u7c73\u4e3a\u5355\u4f4d\uff0c\u5219\u8868\u9762\u79ef\u7684\u7ed3\u679c\u5c06\u4ee5\u5e73\u65b9\u5398\u7c73\u4e3a\u5355\u4f4d\u3002\u4e0d\u540c\u5355\u4f4d\u4e4b\u95f4\u7684\u8f6c\u6362\u53ef\u80fd\u4f1a\u5f71\u54cd\u8ba1\u7b97\u7ed3\u679c\uff0c\u56e0\u6b64\u5728\u7f16\u5199\u4ee3\u7801\u65f6\uff0c\u4fdd\u6301\u5355\u4f4d\u4e00\u81f4\u6027\u975e\u5e38\u91cd\u8981\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u8ba1\u7b97\u7403\u7684\u8868\u9762\u79ef\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u7403\u8868\u9762\u79ef\u516c\u5f0f\uff1a 4\u03c0r\u00b2\uff0c\u5176\u4e2d r \u662f\u7403\u7684\u534a\u5f84\uff0c\u03c0 \u662f\u5706\u5468\u7387\u3002\u5bfc\u5165 ma [&hellip;]","protected":false},"author":3,"featured_media":1068243,"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\/1068228"}],"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=1068228"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1068228\/revisions"}],"predecessor-version":[{"id":1068244,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1068228\/revisions\/1068244"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1068243"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1068228"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1068228"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1068228"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}