{"id":1121465,"date":"2025-01-08T19:09:49","date_gmt":"2025-01-08T11:09:49","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1121465.html"},"modified":"2025-01-08T19:09:52","modified_gmt":"2025-01-08T11:09:52","slug":"python%e4%b8%ad%e5%a6%82%e4%bd%95%e8%be%93%e5%87%ba%e5%a5%87%e6%95%b0%e5%92%8c%e5%81%b6%e6%95%b0%e4%b9%8b%e5%92%8c","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1121465.html","title":{"rendered":"python\u4e2d\u5982\u4f55\u8f93\u51fa\u5947\u6570\u548c\u5076\u6570\u4e4b\u548c"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25083719\/20eba295-e867-4754-925a-c51877f0c1cf.webp\" alt=\"python\u4e2d\u5982\u4f55\u8f93\u51fa\u5947\u6570\u548c\u5076\u6570\u4e4b\u548c\" \/><\/p>\n<p><p> <strong>\u8981\u5728Python\u4e2d\u8f93\u51fa\u5947\u6570\u548c\u5076\u6570\u4e4b\u548c\uff0c\u53ef\u4ee5\u4f7f\u7528\u6761\u4ef6\u5224\u65ad\u548c\u5faa\u73af\u6765\u904d\u5386\u6570\u5b57\uff0c\u7136\u540e\u6839\u636e\u6570\u5b57\u7684\u5947\u5076\u6027\u5206\u522b\u7d2f\u52a0\u6c42\u548c\u3002<\/strong><\/p>\n<\/p>\n<p><p><strong>\u5947\u6570\u548c\u5076\u6570\u5206\u522b\u7d2f\u52a0\u3001\u4f7f\u7528\u6761\u4ef6\u5224\u65ad\u3001\u904d\u5386\u6570\u5b57\u3002<\/strong><\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u7406\u89e3\u5947\u6570\u548c\u5076\u6570\u7684\u5b9a\u4e49<\/h3>\n<\/p>\n<p><p>\u5728\u6570\u5b66\u4e2d\uff0c<strong>\u5947\u6570<\/strong>\u662f\u4e0d\u80fd\u88ab2\u6574\u9664\u7684\u6574\u6570\uff0c\u800c<strong>\u5076\u6570<\/strong>\u662f\u53ef\u4ee5\u88ab2\u6574\u9664\u7684\u6574\u6570\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u5982\u679c\u4e00\u4e2a\u6574\u6570\u9664\u4ee52\u7684\u4f59\u6570\u4e3a0\uff0c\u5219\u8be5\u6570\u662f\u5076\u6570\uff0c\u5426\u5219\u662f\u5947\u6570\u3002Python\u4e2d\u53ef\u4ee5\u4f7f\u7528\u53d6\u6a21\u8fd0\u7b97\u7b26 <code>%<\/code> \u6765\u5224\u65ad\u4e00\u4e2a\u6570\u662f\u5426\u4e3a\u5947\u6570\u6216\u5076\u6570\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001Python\u4e2d\u7684\u57fa\u672c\u8bed\u6cd5<\/h3>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u5f0f\u5b9e\u73b0\u5947\u6570\u548c\u5076\u6570\u7684\u5224\u65ad\u548c\u7d2f\u52a0\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u57fa\u672c\u7684\u8bed\u6cd5\u548c\u51fd\u6570\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>\u53d6\u6a21\u8fd0\u7b97\u7b26<\/strong>\uff1a<code>%<\/code> \u7528\u4e8e\u5224\u65ad\u4e00\u4e2a\u6570\u7684\u5947\u5076\u6027\u3002<\/li>\n<li><strong>for\u5faa\u73af<\/strong>\uff1a\u7528\u4e8e\u904d\u5386\u4e00\u7cfb\u5217\u7684\u6570\u5b57\u3002<\/li>\n<li><strong>if\u6761\u4ef6\u8bed\u53e5<\/strong>\uff1a\u7528\u4e8e\u5224\u65ad\u5e76\u6267\u884c\u4e0d\u540c\u7684\u64cd\u4f5c\u3002<\/li>\n<li><strong>\u53d8\u91cf\u7d2f\u52a0<\/strong>\uff1a\u7528\u4e8e\u7d2f\u52a0\u5947\u6570\u548c\u5076\u6570\u7684\u548c\u3002<\/li>\n<\/ol>\n<p><h3>\u4e09\u3001\u5b9e\u73b0\u5947\u6570\u548c\u5076\u6570\u4e4b\u548c\u7684\u6b65\u9aa4<\/h3>\n<\/p>\n<p><h4>1. \u5b9a\u4e49\u8303\u56f4<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u6211\u4eec\u9700\u8981\u5b9a\u4e49\u4e00\u4e2a\u8303\u56f4\uff0c\u901a\u5e38\u53ef\u4ee5\u4f7f\u7528Python\u7684\u5185\u5efa\u51fd\u6570 <code>range()<\/code> \u6765\u751f\u6210\u8fd9\u4e2a\u8303\u56f4\u7684\u6570\u5b57\u3002\u4f8b\u5982\uff0c<code>range(1, 101)<\/code> \u751f\u6210\u4ece1\u5230100\u7684\u6570\u5b57\u3002<\/p>\n<\/p>\n<p><h4>2. \u521d\u59cb\u5316\u53d8\u91cf<\/h4>\n<\/p>\n<p><p>\u6211\u4eec\u9700\u8981\u4e24\u4e2a\u53d8\u91cf\u6765\u5206\u522b\u5b58\u50a8\u5947\u6570\u548c\u5076\u6570\u7684\u548c\uff0c\u521d\u59cb\u5316\u4e3a0\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">odd_sum = 0<\/p>\n<p>even_sum = 0<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3. \u4f7f\u7528for\u5faa\u73af\u904d\u5386\u6570\u5b57<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528 <code>for<\/code> \u5faa\u73af\u904d\u5386 <code>range<\/code> \u751f\u6210\u7684\u6570\u5b57\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">for num in range(1, 101):<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>4. \u5224\u65ad\u5947\u5076\u6027\u5e76\u7d2f\u52a0<\/h4>\n<\/p>\n<p><p>\u5728\u5faa\u73af\u5185\u90e8\uff0c\u4f7f\u7528 <code>if<\/code> \u6761\u4ef6\u8bed\u53e5\u5224\u65ad\u6570\u5b57\u7684\u5947\u5076\u6027\uff0c\u5e76\u5206\u522b\u7d2f\u52a0\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">if num % 2 == 0:<\/p>\n<p>    even_sum += num<\/p>\n<p>else:<\/p>\n<p>    odd_sum += num<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>5. \u8f93\u51fa\u7ed3\u679c<\/h4>\n<\/p>\n<p><p>\u6700\u540e\uff0c\u8f93\u51fa\u5947\u6570\u548c\u5076\u6570\u7684\u548c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">print(&quot;Odd sum:&quot;, odd_sum)<\/p>\n<p>print(&quot;Even sum:&quot;, even_sum)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u56db\u3001\u5b9e\u73b0\u4ee3\u7801\u793a\u4f8b<\/h3>\n<\/p>\n<p><p>\u4ee5\u4e0b\u662f\u4e00\u4e2a\u5b8c\u6574\u7684Python\u4ee3\u7801\u793a\u4f8b\uff0c\u5b9e\u73b0\u4e86\u4ece1\u5230100\u7684\u5947\u6570\u548c\u5076\u6570\u4e4b\u548c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u521d\u59cb\u5316\u53d8\u91cf<\/p>\n<p>odd_sum = 0<\/p>\n<p>even_sum = 0<\/p>\n<h2><strong>\u904d\u53861\u5230100\u7684\u6570\u5b57<\/strong><\/h2>\n<p>for num in range(1, 101):<\/p>\n<p>    # \u5224\u65ad\u5947\u5076\u6027\u5e76\u7d2f\u52a0<\/p>\n<p>    if num % 2 == 0:<\/p>\n<p>        even_sum += num<\/p>\n<p>    else:<\/p>\n<p>        odd_sum += num<\/p>\n<h2><strong>\u8f93\u51fa\u7ed3\u679c<\/strong><\/h2>\n<p>print(&quot;Odd sum:&quot;, odd_sum)<\/p>\n<p>print(&quot;Even sum:&quot;, even_sum)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e94\u3001\u6269\u5c55\u601d\u8003\uff1a\u5982\u4f55\u5904\u7406\u66f4\u5927\u8303\u56f4\u7684\u6570\u5b57<\/h3>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u6211\u4eec\u53ef\u80fd\u9700\u8981\u5904\u7406\u66f4\u5927\u8303\u56f4\u7684\u6570\u5b57\uff0c\u751a\u81f3\u662f\u7528\u6237\u52a8\u6001\u8f93\u5165\u7684\u8303\u56f4\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u6269\u5c55\u7684\u601d\u8003\u548c\u5b9e\u73b0\u65b9\u6cd5\uff1a<\/p>\n<\/p>\n<p><h4>1. \u52a8\u6001\u8f93\u5165\u8303\u56f4<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528 <code>input()<\/code> \u51fd\u6570\u83b7\u53d6\u7528\u6237\u8f93\u5165\u7684\u8303\u56f4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">start = int(input(&quot;Enter the start of the range: &quot;))<\/p>\n<p>end = int(input(&quot;Enter the end of the range: &quot;))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u589e\u52a0\u9519\u8bef\u5904\u7406<\/h4>\n<\/p>\n<p><p>\u4e3a\u4e86\u4fdd\u8bc1\u7a0b\u5e8f\u7684\u5065\u58ee\u6027\uff0c\u53ef\u4ee5\u589e\u52a0\u9519\u8bef\u5904\u7406\uff0c\u4f8b\u5982\u786e\u4fdd\u7528\u6237\u8f93\u5165\u7684\u662f\u6709\u6548\u7684\u6574\u6570\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">try:<\/p>\n<p>    start = int(input(&quot;Enter the start of the range: &quot;))<\/p>\n<p>    end = int(input(&quot;Enter the end of the range: &quot;))<\/p>\n<p>except ValueError:<\/p>\n<p>    print(&quot;Please enter valid integers.&quot;)<\/p>\n<p>    exit()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3. \u4f7f\u7528\u51fd\u6570\u5c01\u88c5<\/h4>\n<\/p>\n<p><p>\u5c06\u5947\u6570\u548c\u5076\u6570\u6c42\u548c\u7684\u903b\u8f91\u5c01\u88c5\u6210\u51fd\u6570\uff0c\u4fbf\u4e8e\u590d\u7528\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def calculate_sums(start, end):<\/p>\n<p>    odd_sum = 0<\/p>\n<p>    even_sum = 0<\/p>\n<p>    for num in range(start, end + 1):<\/p>\n<p>        if num % 2 == 0:<\/p>\n<p>            even_sum += num<\/p>\n<p>        else:<\/p>\n<p>            odd_sum += num<\/p>\n<p>    return odd_sum, even_sum<\/p>\n<p>start = int(input(&quot;Enter the start of the range: &quot;))<\/p>\n<p>end = int(input(&quot;Enter the end of the range: &quot;))<\/p>\n<p>odd_sum, even_sum = calculate_sums(start, end)<\/p>\n<p>print(&quot;Odd sum:&quot;, odd_sum)<\/p>\n<p>print(&quot;Even sum:&quot;, even_sum)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u516d\u3001\u4f18\u5316\u548c\u6027\u80fd\u8003\u8651<\/h3>\n<\/p>\n<p><p>\u5bf9\u4e8e\u975e\u5e38\u5927\u7684\u6570\u5b57\u8303\u56f4\uff0c\u6027\u80fd\u53ef\u80fd\u6210\u4e3a\u4e00\u4e2a\u95ee\u9898\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u4f18\u5316\u7684\u601d\u8003\uff1a<\/p>\n<\/p>\n<p><h4>1. \u4f7f\u7528\u6570\u5b66\u516c\u5f0f<\/h4>\n<\/p>\n<p><p>\u5bf9\u4e8e\u8fde\u7eed\u7684\u6574\u6570\u5e8f\u5217\uff0c\u53ef\u4ee5\u4f7f\u7528\u6570\u5b66\u516c\u5f0f\u76f4\u63a5\u8ba1\u7b97\u5947\u6570\u548c\u5076\u6570\u7684\u548c\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u5076\u6570\u548c\u516c\u5f0f\uff1a<code>n(n+1)<\/code><\/li>\n<li>\u5947\u6570\u548c\u516c\u5f0f\uff1a<code>n^2<\/code><\/li>\n<\/ul>\n<p><h4>2. \u5e76\u884c\u5904\u7406<\/h4>\n<\/p>\n<p><p>\u5bf9\u4e8e\u975e\u5e38\u5927\u7684\u6570\u5b57\u8303\u56f4\uff0c\u53ef\u4ee5\u8003\u8651\u4f7f\u7528\u591a\u7ebf\u7a0b\u6216\u591a\u8fdb\u7a0b\u8fdb\u884c\u5e76\u884c\u5904\u7406\uff0c\u4ee5\u63d0\u9ad8\u6027\u80fd\u3002<\/p>\n<\/p>\n<p><h4>3. \u5185\u5b58\u4f18\u5316<\/h4>\n<\/p>\n<p><p>\u5728\u5904\u7406\u975e\u5e38\u5927\u7684\u8303\u56f4\u65f6\uff0c\u9700\u8981\u6ce8\u610f\u5185\u5b58\u7684\u4f7f\u7528\uff0c\u5c3d\u91cf\u907f\u514d\u4e0d\u5fc5\u8981\u7684\u53d8\u91cf\u548c\u6570\u636e\u5b58\u50a8\u3002<\/p>\n<\/p>\n<p><h3>\u4e03\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7\u672c\u6587\u7684\u4ecb\u7ecd\uff0c\u6211\u4eec\u8be6\u7ec6\u63a2\u8ba8\u4e86\u5728Python\u4e2d\u5982\u4f55\u8f93\u51fa\u5947\u6570\u548c\u5076\u6570\u4e4b\u548c\uff0c\u6db5\u76d6\u4e86\u4ece\u57fa\u672c\u8bed\u6cd5\u5230\u6269\u5c55\u601d\u8003\u7684\u591a\u4e2a\u65b9\u9762\u3002\u5e0c\u671b\u8fd9\u4e9b\u5185\u5bb9\u80fd\u591f\u5e2e\u52a9\u8bfb\u8005\u66f4\u597d\u5730\u7406\u89e3\u548c\u5e94\u7528Python\u8fdb\u884c\u5947\u6570\u548c\u5076\u6570\u4e4b\u548c\u7684\u8ba1\u7b97\u3002\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u7ed3\u5408\u5177\u4f53\u9700\u6c42\u548c\u573a\u666f\uff0c\u7075\u6d3b\u8c03\u6574\u548c\u4f18\u5316\u4ee3\u7801\uff0c\u662f\u63d0\u5347\u7f16\u7a0b\u80fd\u529b\u7684\u5173\u952e\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5728Python\u4e2d\uff0c\u5982\u4f55\u5206\u522b\u8ba1\u7b97\u5947\u6570\u548c\u5076\u6570\u7684\u548c\uff1f<\/strong><br \/>\u53ef\u4ee5\u4f7f\u7528\u5faa\u73af\u904d\u5386\u4e00\u4e2a\u6570\u5217\uff0c\u68c0\u67e5\u6bcf\u4e2a\u6570\u662f\u5947\u6570\u8fd8\u662f\u5076\u6570\uff0c\u5e76\u5206\u522b\u7d2f\u52a0\u5b83\u4eec\u3002\u6bd4\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528<code>for<\/code>\u5faa\u73af\u7ed3\u5408<code>if<\/code>\u8bed\u53e5\u6765\u5b8c\u6210\u8fd9\u9879\u5de5\u4f5c\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u793a\u4f8b\u4ee3\u7801\uff1a  <\/p>\n<pre><code class=\"language-python\">even_sum = 0\nodd_sum = 0\nfor i in range(1, 101):  # \u5047\u8bbe\u8ba1\u7b971\u5230100\u7684\u548c\n    if i % 2 == 0:\n        even_sum += i\n    else:\n        odd_sum += i\nprint(&quot;\u5076\u6570\u4e4b\u548c:&quot;, even_sum)\nprint(&quot;\u5947\u6570\u4e4b\u548c:&quot;, odd_sum)\n<\/code><\/pre>\n<p><strong>\u5982\u4f55\u5728Python\u4e2d\u4f7f\u7528\u5217\u8868\u7406\u89e3\u6765\u8ba1\u7b97\u5947\u6570\u548c\u5076\u6570\u7684\u548c\uff1f<\/strong><br \/>\u5217\u8868\u7406\u89e3\u63d0\u4f9b\u4e86\u4e00\u79cd\u7b80\u6d01\u7684\u65b9\u5f0f\u6765\u8ba1\u7b97\u5947\u6570\u548c\u5076\u6570\u7684\u548c\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u4ee3\u7801\u5b9e\u73b0\uff1a  <\/p>\n<pre><code class=\"language-python\">even_sum = sum(i for i in range(1, 101) if i % 2 == 0)\nodd_sum = sum(i for i in range(1, 101) if i % 2 != 0)\nprint(&quot;\u5076\u6570\u4e4b\u548c:&quot;, even_sum)\nprint(&quot;\u5947\u6570\u4e4b\u548c:&quot;, odd_sum)\n<\/code><\/pre>\n<p>\u8fd9\u79cd\u65b9\u6cd5\u5728\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u7b80\u6d01\u6027\u4e0a\u90fd\u6709\u5f88\u5927\u7684\u63d0\u5347\u3002<\/p>\n<p><strong>\u662f\u5426\u53ef\u4ee5\u4f7f\u7528Python\u7684\u5185\u7f6e\u51fd\u6570\u6765\u5b9e\u73b0\u5947\u6570\u548c\u5076\u6570\u7684\u548c\uff1f<\/strong><br \/>\u662f\u7684\uff0cPython\u63d0\u4f9b\u4e86\u4e00\u4e9b\u5185\u7f6e\u51fd\u6570\u53ef\u4ee5\u4f7f\u8fd9\u4e2a\u8fc7\u7a0b\u66f4\u52a0\u9ad8\u6548\u3002\u4f8b\u5982\uff0c<code>filter<\/code>\u51fd\u6570\u53ef\u4ee5\u7528\u6765\u8fc7\u6ee4\u51fa\u5947\u6570\u548c\u5076\u6570\uff0c\u7ed3\u5408<code>sum<\/code>\u51fd\u6570\u53ef\u4ee5\u5feb\u901f\u8ba1\u7b97\u5b83\u4eec\u7684\u548c\uff1a  <\/p>\n<pre><code class=\"language-python\">even_sum = sum(filter(lambda x: x % 2 == 0, range(1, 101)))\nodd_sum = sum(filter(lambda x: x % 2 != 0, range(1, 101)))\nprint(&quot;\u5076\u6570\u4e4b\u548c:&quot;, even_sum)\nprint(&quot;\u5947\u6570\u4e4b\u548c:&quot;, odd_sum)\n<\/code><\/pre>\n<p>\u8fd9\u79cd\u65b9\u6cd5\u4e0d\u4ec5\u7b80\u6d01\uff0c\u800c\u4e14\u6613\u4e8e\u7406\u89e3\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u5728Python\u4e2d\u8f93\u51fa\u5947\u6570\u548c\u5076\u6570\u4e4b\u548c\uff0c\u53ef\u4ee5\u4f7f\u7528\u6761\u4ef6\u5224\u65ad\u548c\u5faa\u73af\u6765\u904d\u5386\u6570\u5b57\uff0c\u7136\u540e\u6839\u636e\u6570\u5b57\u7684\u5947\u5076\u6027\u5206\u522b\u7d2f\u52a0\u6c42\u548c\u3002 \u5947 [&hellip;]","protected":false},"author":3,"featured_media":1121477,"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\/1121465"}],"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=1121465"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1121465\/revisions"}],"predecessor-version":[{"id":1121479,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1121465\/revisions\/1121479"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1121477"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1121465"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1121465"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1121465"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}