{"id":976475,"date":"2024-12-27T06:21:53","date_gmt":"2024-12-26T22:21:53","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/976475.html"},"modified":"2024-12-27T06:21:55","modified_gmt":"2024-12-26T22:21:55","slug":"python%e5%a6%82%e4%bd%95%e8%be%93%e5%87%ba%e6%98%af%e7%ad%89%e5%bc%8f","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/976475.html","title":{"rendered":"python\u5982\u4f55\u8f93\u51fa\u662f\u7b49\u5f0f"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24202143\/ea536c19-394f-4f2d-9026-9173255ee6db.webp\" alt=\"python\u5982\u4f55\u8f93\u51fa\u662f\u7b49\u5f0f\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\u8f93\u51fa\u7b49\u5f0f\u53ef\u4ee5\u901a\u8fc7\u51e0\u4e2a\u6b65\u9aa4\u6765\u5b9e\u73b0\uff1a\u4f7f\u7528print\u51fd\u6570\u3001\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u3001\u4f7f\u7528\u7b26\u53f7\u8868\u793a\u7b49\u5f0f\u3001\u5b9e\u73b0\u7b49\u5f0f\u7684\u8ba1\u7b97\u3002<\/strong> \u5728Python\u4e2d\uff0c\u8f93\u51fa\u7b49\u5f0f\u7684\u6838\u5fc3\u5728\u4e8e\u5982\u4f55\u6709\u6548\u5730\u5c55\u793a\u548c\u8ba1\u7b97\u8868\u8fbe\u5f0f\uff0c\u5e76\u5c06\u7ed3\u679c\u5448\u73b0\u7ed9\u7528\u6237\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u89e3\u91ca\u5176\u4e2d\u7684\u4e00\u4e9b\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528PRINT\u51fd\u6570<\/h3>\n<\/p>\n<p><p>\u4f7f\u7528<code>print()<\/code>\u51fd\u6570\u662fPython\u4e2d\u6700\u57fa\u672c\u7684\u65b9\u6cd5\u4e4b\u4e00\uff0c\u5b83\u53ef\u4ee5\u76f4\u63a5\u5c06\u5b57\u7b26\u4e32\u548c\u8ba1\u7b97\u7ed3\u679c\u8f93\u51fa\u5230\u63a7\u5236\u53f0\u3002\u4e0b\u9762\u662f\u4e00\u4e9b\u4f7f\u7528<code>print()<\/code>\u8f93\u51fa\u7b49\u5f0f\u7684\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>\u7b80\u5355\u7684\u5b57\u7b26\u4e32\u548c\u53d8\u91cf\u8f93\u51fa<\/strong><\/li>\n<\/ol>\n<p><pre><code class=\"language-python\">a = 5<\/p>\n<p>b = 3<\/p>\n<p>print(&quot;\u7b49\u5f0f: a + b =&quot;, a + b)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c<code>print()<\/code>\u51fd\u6570\u5c06\u5b57\u7b26\u4e32\u548c\u8ba1\u7b97\u7ed3\u679c\u7ec4\u5408\u5728\u4e00\u8d77\u8f93\u51fa\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u8f93\u51fa\u590d\u6742\u7b49\u5f0f<\/strong><\/li>\n<\/ol>\n<p><pre><code class=\"language-python\">x = 10<\/p>\n<p>y = 20<\/p>\n<p>z = 30<\/p>\n<p>print(&quot;\u7b49\u5f0f: x + y + z =&quot;, x + y + z)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u91cc\uff0c<code>print()<\/code>\u4e0d\u4ec5\u53ef\u4ee5\u7528\u4e8e\u8f93\u51fa\u7b80\u5355\u7684\u52a0\u6cd5\u7b49\u5f0f\uff0c\u8fd8\u53ef\u4ee5\u7528\u4e8e\u66f4\u590d\u6742\u7684\u6570\u5b66\u8fd0\u7b97\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u683c\u5f0f\u5316\u5b57\u7b26\u4e32<\/h3>\n<\/p>\n<p><p>Python\u63d0\u4f9b\u4e86\u591a\u79cd\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\u65b9\u6cd5\uff0c\u53ef\u4ee5\u66f4\u7075\u6d3b\u5730\u8f93\u51fa\u7b49\u5f0f\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u4f7f\u7528f-strings<\/strong><\/li>\n<\/ol>\n<p><p>f-strings\u662fPython 3.6\u5f15\u5165\u7684\u4e00\u79cd\u683c\u5f0f\u5316\u65b9\u6cd5\uff0c\u975e\u5e38\u7b80\u6d01\u660e\u4e86\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">x = 5<\/p>\n<p>y = 10<\/p>\n<p>result = x + y<\/p>\n<p>print(f&quot;\u7b49\u5f0f: {x} + {y} = {result}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4f7f\u7528f-strings\u53ef\u4ee5\u5728\u5b57\u7b26\u4e32\u4e2d\u76f4\u63a5\u5d4c\u5165\u53d8\u91cf\uff0c\u8bed\u6cd5\u7b80\u5355\uff0c\u6613\u4e8e\u9605\u8bfb\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u4f7f\u7528format()\u65b9\u6cd5<\/strong><\/li>\n<\/ol>\n<p><p><code>format()<\/code>\u65b9\u6cd5\u662f\u4e00\u79cd\u66f4\u901a\u7528\u7684\u683c\u5f0f\u5316\u65b9\u6cd5\uff0c\u9002\u7528\u4e8ePython 3.0\u53ca\u4ee5\u4e0a\u7248\u672c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">a = 7<\/p>\n<p>b = 8<\/p>\n<p>result = a * b<\/p>\n<p>print(&quot;\u7b49\u5f0f: {} * {} = {}&quot;.format(a, b, result))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><code>format()<\/code>\u65b9\u6cd5\u901a\u8fc7\u5927\u62ec\u53f7<code>{}<\/code>\u4f5c\u4e3a\u5360\u4f4d\u7b26\uff0c\u53ef\u4ee5\u5728\u5b57\u7b26\u4e32\u4e2d\u63d2\u5165\u53d8\u91cf\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528\u7b26\u53f7\u8868\u793a\u7b49\u5f0f<\/h3>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u9700\u8981\u4f7f\u7528\u7b26\u53f7\u6765\u8868\u793a\u7b49\u5f0f\uff0c\u5c24\u5176\u662f\u5728\u6d89\u53ca\u6570\u5b66\u7b26\u53f7\u7684\u8f93\u51fa\u65f6\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u4f7f\u7528Unicode\u7b26\u53f7<\/strong><\/li>\n<\/ol>\n<p><p>Python\u652f\u6301Unicode\uff0c\u53ef\u4ee5\u7528\u4e8e\u8f93\u51fa\u8bb8\u591a\u6570\u5b66\u7b26\u53f7\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u4f7f\u7528\u03c0\u548c\u221a\u7b26\u53f7<\/p>\n<p>import math<\/p>\n<p>print(f&quot;\u7b49\u5f0f: \u03c0 \u2248 {math.pi}, \u221a2 \u2248 {math.sqrt(2)}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528\u4e86\u6570\u5b66\u5e38\u6570\u03c0\u548c\u5e73\u65b9\u6839\u7b26\u53f7\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u8868\u8fbe\u590d\u6742\u7b49\u5f0f<\/strong><\/li>\n<\/ol>\n<p><p>\u5bf9\u4e8e\u590d\u6742\u7684\u6570\u5b66\u8868\u8fbe\u5f0f\uff0c\u6211\u4eec\u53ef\u4ee5\u501f\u52a9<code>sympy<\/code>\u5e93\u6765\u5c55\u793a\u548c\u8ba1\u7b97\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from sympy import symbols, Eq, solve<\/p>\n<p>x = symbols(&#39;x&#39;)<\/p>\n<p>equation = Eq(2*x + 1, 0)<\/p>\n<p>solution = solve(equation, x)<\/p>\n<p>print(f&quot;\u7b49\u5f0f: {equation}, \u89e3: x = {solution[0]}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><code>sympy<\/code>\u5e93\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u7b26\u53f7\u6570\u5b66\u5de5\u5177\uff0c\u53ef\u4ee5\u7528\u4e8e\u8868\u793a\u548c\u6c42\u89e3\u590d\u6742\u7684\u6570\u5b66\u7b49\u5f0f\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u5b9e\u73b0\u7b49\u5f0f\u7684\u8ba1\u7b97<\/h3>\n<\/p>\n<p><p>\u4e0d\u4ec5\u4ec5\u662f\u8f93\u51fa\u7b49\u5f0f\uff0c\u6709\u65f6\u6211\u4eec\u8fd8\u9700\u8981\u6267\u884c\u7b49\u5f0f\u8ba1\u7b97\uff0c\u5e76\u8f93\u51fa\u7ed3\u679c\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u6267\u884c\u57fa\u672c\u8fd0\u7b97<\/strong><\/li>\n<\/ol>\n<p><p>Python\u5185\u7f6e\u652f\u6301\u8bb8\u591a\u57fa\u672c\u7684\u6570\u5b66\u8fd0\u7b97\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">a = 15<\/p>\n<p>b = 5<\/p>\n<p>print(f&quot;\u7b49\u5f0f: {a} \/ {b} = {a \/ b}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u6267\u884c\u4e86\u4e00\u4e2a\u7b80\u5355\u7684\u9664\u6cd5\u8fd0\u7b97\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u4f7f\u7528\u51fd\u6570\u8fdb\u884c\u8ba1\u7b97<\/strong><\/li>\n<\/ol>\n<p><p>Python\u5141\u8bb8\u6211\u4eec\u5b9a\u4e49\u51fd\u6570\u6765\u5c01\u88c5\u590d\u6742\u7684\u8ba1\u7b97\u903b\u8f91\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def calculate_area(radius):<\/p>\n<p>    return math.pi * radius2<\/p>\n<p>radius = 5<\/p>\n<p>print(f&quot;\u7b49\u5f0f: \u5706\u7684\u9762\u79ef = \u03c0 * {radius}^2 \u2248 {calculate_area(radius)}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u5b9a\u4e49\u51fd\u6570\uff0c\u6211\u4eec\u53ef\u4ee5\u66f4\u6e05\u6670\u5730\u7ec4\u7ec7\u4ee3\u7801\uff0c\u5e76\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u91cd\u7528\u6027\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u7efc\u5408\u5e94\u7528<\/h3>\n<\/p>\n<p><p>\u7ed3\u5408\u4ee5\u4e0a\u65b9\u6cd5\uff0c\u6211\u4eec\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u66f4\u590d\u6742\u7684\u7a0b\u5e8f\uff0c\u7528\u4e8e\u8f93\u51fa\u548c\u8ba1\u7b97\u591a\u79cd\u7b49\u5f0f\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import math<\/p>\n<p>from sympy import symbols, Eq, solve<\/p>\n<p>def m<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>n():<\/p>\n<p>    # \u57fa\u672c\u7b49\u5f0f\u8f93\u51fa<\/p>\n<p>    a = 4<\/p>\n<p>    b = 9<\/p>\n<p>    print(f&quot;\u7b49\u5f0f: {a} + {b} = {a + b}&quot;)<\/p>\n<p>    # \u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u8f93\u51fa<\/p>\n<p>    x = 7<\/p>\n<p>    y = 3<\/p>\n<p>    print(&quot;\u7b49\u5f0f: {} - {} = {}&quot;.format(x, y, x - y))<\/p>\n<p>    # \u4f7f\u7528Unicode\u7b26\u53f7<\/p>\n<p>    print(f&quot;\u7b49\u5f0f: \u03c0 \u2248 {math.pi}, \u221a3 \u2248 {math.sqrt(3)}&quot;)<\/p>\n<p>    # \u4f7f\u7528sympy\u6c42\u89e3\u65b9\u7a0b<\/p>\n<p>    x = symbols(&#39;x&#39;)<\/p>\n<p>    equation = Eq(x2 - 4, 0)<\/p>\n<p>    solutions = solve(equation, x)<\/p>\n<p>    print(f&quot;\u7b49\u5f0f: {equation}, \u89e3: x = {solutions}&quot;)<\/p>\n<p>    # \u4f7f\u7528\u51fd\u6570\u8ba1\u7b97<\/p>\n<p>    radius = 10<\/p>\n<p>    area = calculate_area(radius)<\/p>\n<p>    print(f&quot;\u7b49\u5f0f: \u5706\u7684\u9762\u79ef = \u03c0 * {radius}^2 \u2248 {area}&quot;)<\/p>\n<p>def calculate_area(radius):<\/p>\n<p>    return math.pi * radius2<\/p>\n<p>if __name__ == &quot;__main__&quot;:<\/p>\n<p>    main()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4e2a\u7a0b\u5e8f\u5c55\u793a\u4e86\u5982\u4f55\u7ed3\u5408\u57fa\u672c\u8f93\u51fa\u3001\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u3001\u7b26\u53f7\u8868\u793a\u3001\u4ee5\u53ca\u51fd\u6570\u8ba1\u7b97\u6765\u5904\u7406\u548c\u8f93\u51fa\u5404\u79cd\u7b49\u5f0f\u3002\u901a\u8fc7\u7075\u6d3b\u8fd0\u7528Python\u7684\u7279\u6027\uff0c\u6211\u4eec\u53ef\u4ee5\u6709\u6548\u5730\u89e3\u51b3\u65e5\u5e38\u7f16\u7a0b\u4e2d\u9047\u5230\u7684\u8bb8\u591a\u6570\u5b66\u95ee\u9898\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u521b\u5efa\u548c\u8f93\u51fa\u7b49\u5f0f\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\u6765\u521b\u5efa\u548c\u8f93\u51fa\u7b49\u5f0f\u3002\u901a\u8fc7\u7b80\u5355\u7684\u5b57\u7b26\u4e32\u8fde\u63a5\u6216\u4f7f\u7528\u683c\u5f0f\u5316\u65b9\u6cd5\uff08\u5982f-string\u6216<code>format()<\/code>\u51fd\u6570\uff09\uff0c\u53ef\u4ee5\u5c06\u53d8\u91cf\u4e0e\u5b57\u7b26\u4e32\u7ed3\u5408\uff0c\u4ece\u800c\u8f93\u51fa\u7b49\u5f0f\u3002\u4f8b\u5982\uff0c\u60a8\u53ef\u4ee5\u5b9a\u4e49\u53d8\u91cf\uff0c\u5e76\u4f7f\u7528f-string\u6765\u5c55\u793a\u7b49\u5f0f\u7684\u5f62\u5f0f\uff1a  <\/p>\n<pre><code class=\"language-python\">a = 5\nb = 3\nresult = a + b\nprint(f&quot;{a} + {b} = {result}&quot;)\n<\/code><\/pre>\n<p><strong>Python\u652f\u6301\u54ea\u4e9b\u6570\u5b66\u8fd0\u7b97\u7b26\u53ef\u4ee5\u7528\u4e8e\u7b49\u5f0f\uff1f<\/strong><br \/>Python\u652f\u6301\u591a\u79cd\u6570\u5b66\u8fd0\u7b97\u7b26\uff0c\u5305\u62ec\u52a0\u6cd5\uff08<code>+<\/code>\uff09\u3001\u51cf\u6cd5\uff08<code>-<\/code>\uff09\u3001\u4e58\u6cd5\uff08<code>*<\/code>\uff09\u3001\u9664\u6cd5\uff08<code>\/<\/code>\uff09\u3001\u53d6\u4f59\uff08<code>%<\/code>\uff09\u3001\u5e42\u8fd0\u7b97\uff08<code>**<\/code>\uff09\u7b49\u3002\u5229\u7528\u8fd9\u4e9b\u8fd0\u7b97\u7b26\uff0c\u60a8\u53ef\u4ee5\u5728\u4ee3\u7801\u4e2d\u521b\u5efa\u590d\u6742\u7684\u7b49\u5f0f\u5e76\u8f93\u51fa\u7ed3\u679c\u3002\u4f8b\u5982\uff0c\u4f7f\u7528\u4e58\u6cd5\u548c\u5e42\u8fd0\u7b97\u53ef\u4ee5\u521b\u5efa\u5982\u4e0b\u7b49\u5f0f\uff1a  <\/p>\n<pre><code class=\"language-python\">x = 2\ny = 3\nresult = x ** y\nprint(f&quot;{x} \u7684 {y} \u6b21\u65b9\u662f {result}&quot;)\n<\/code><\/pre>\n<p><strong>\u5982\u4f55\u5728Python\u4e2d\u683c\u5f0f\u5316\u8f93\u51fa\u7b49\u5f0f\u7684\u7ed3\u679c\uff1f<\/strong><br \/>\u4e3a\u4e86\u4f7f\u8f93\u51fa\u7ed3\u679c\u66f4\u5177\u53ef\u8bfb\u6027\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528Python\u7684\u683c\u5f0f\u5316\u529f\u80fd\u6765\u63a7\u5236\u6570\u5b57\u7684\u663e\u793a\u65b9\u5f0f\u3002\u4f8b\u5982\uff0c\u901a\u8fc7<code>:.2f<\/code>\u53ef\u4ee5\u5c06\u6d6e\u70b9\u6570\u683c\u5f0f\u5316\u4e3a\u4e24\u4f4d\u5c0f\u6570\u3002\u5728\u8f93\u51fa\u7b49\u5f0f\u65f6\uff0c\u8fd9\u53ef\u4ee5\u5e2e\u52a9\u60a8\u83b7\u5f97\u66f4\u6574\u6d01\u7684\u7ed3\u679c\u3002\u793a\u4f8b\u4ee3\u7801\u5982\u4e0b\uff1a  <\/p>\n<pre><code class=\"language-python\">x = 10\ny = 3\nresult = x \/ y\nprint(f&quot;{x} \/ {y} = {result:.2f}&quot;)\n<\/code><\/pre>\n<p>\u8fd9\u79cd\u683c\u5f0f\u5316\u8f93\u51fa\u4f7f\u5f97\u7ed3\u679c\u66f4\u52a0\u7f8e\u89c2\u548c\u6613\u4e8e\u7406\u89e3\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u8f93\u51fa\u7b49\u5f0f\u53ef\u4ee5\u901a\u8fc7\u51e0\u4e2a\u6b65\u9aa4\u6765\u5b9e\u73b0\uff1a\u4f7f\u7528print\u51fd\u6570\u3001\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u3001\u4f7f\u7528\u7b26\u53f7\u8868\u793a\u7b49\u5f0f\u3001\u5b9e\u73b0\u7b49\u5f0f\u7684 [&hellip;]","protected":false},"author":3,"featured_media":976478,"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\/976475"}],"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=976475"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/976475\/revisions"}],"predecessor-version":[{"id":976482,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/976475\/revisions\/976482"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/976478"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=976475"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=976475"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=976475"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}