{"id":1079410,"date":"2025-01-08T12:20:39","date_gmt":"2025-01-08T04:20:39","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1079410.html"},"modified":"2025-01-08T12:20:42","modified_gmt":"2025-01-08T04:20:42","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8python%e4%b8%ad%e8%be%93%e5%85%a5%e4%bb%bb%e6%84%8f%e4%b8%aa%e6%95%b0%e5%ad%97-2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1079410.html","title":{"rendered":"\u5982\u4f55\u5728python\u4e2d\u8f93\u5165\u4efb\u610f\u4e2a\u6570\u5b57"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24182449\/e7e547cd-73c5-46b3-8bd8-2bd0d9efdd4f.webp\" alt=\"\u5982\u4f55\u5728python\u4e2d\u8f93\u5165\u4efb\u610f\u4e2a\u6570\u5b57\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\u8f93\u5165\u4efb\u610f\u4e2a\u6570\u5b57\u7684\u65b9\u6cd5\u6709\u5f88\u591a<\/strong>\uff0c<strong>\u4f7f\u7528\u5217\u8868\u3001\u4f7f\u7528\u51fd\u6570\u53c2\u6570\u3001\u4f7f\u7528\u5faa\u73af\u3001\u4f7f\u7528\u96c6\u5408<\/strong>\u3002\u8fd9\u4e9b\u65b9\u6cd5\u80fd\u591f\u5e2e\u52a9\u4f60\u5728\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u7075\u6d3b\u5730\u63a5\u6536\u7528\u6237\u8f93\u5165\u7684\u6570\u5b57\uff0c\u5e76\u8fdb\u884c\u76f8\u5e94\u7684\u5904\u7406\u3002\u4e0b\u9762\u6211\u4eec\u5c06\u91cd\u70b9\u5c55\u5f00\u4ecb\u7ecd\u4f7f\u7528\u5217\u8868\u7684\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528\u5217\u8868<\/h3>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u5217\u8868\u662f\u4e00\u79cd\u975e\u5e38\u7075\u6d3b\u7684\u6570\u636e\u7ed3\u6784\uff0c\u53ef\u4ee5\u5b58\u50a8\u4efb\u610f\u6570\u91cf\u7684\u5143\u7d20\uff0c\u5305\u62ec\u6570\u5b57\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7\u5217\u8868\u6765\u63a5\u6536\u7528\u6237\u8f93\u5165\u7684\u4efb\u610f\u4e2a\u6570\u5b57\u3002\u5177\u4f53\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><h4>1\u3001\u4f7f\u7528 <code>input()<\/code> \u51fd\u6570\u548c <code>split()<\/code> \u65b9\u6cd5<\/h4>\n<\/p>\n<p><p>\u4f60\u53ef\u4ee5\u4f7f\u7528 <code>input()<\/code> \u51fd\u6570\u83b7\u53d6\u7528\u6237\u8f93\u5165\u7684\u5b57\u7b26\u4e32\uff0c\u7136\u540e\u4f7f\u7528 <code>split()<\/code> \u65b9\u6cd5\u5c06\u5b57\u7b26\u4e32\u5206\u5272\u6210\u4e00\u4e2a\u4e2a\u6570\u5b57\uff0c\u518d\u5c06\u8fd9\u4e9b\u6570\u5b57\u8f6c\u6362\u6210\u6574\u6570\u6216\u6d6e\u70b9\u6570\u5e76\u5b58\u50a8\u5230\u5217\u8868\u4e2d\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u83b7\u53d6\u7528\u6237\u8f93\u5165\u7684\u4e00\u884c\u6570\u5b57\uff0c\u5e76\u5c06\u5176\u8f6c\u6362\u6210\u6574\u6570\u5217\u8868<\/p>\n<p>numbers = list(map(int, input(&quot;\u8bf7\u8f93\u5165\u6570\u5b57\uff0c\u4ee5\u7a7a\u683c\u5206\u9694: &quot;).split()))<\/p>\n<p>print(numbers)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u6bb5\u4ee3\u7801\u4e2d\uff0c<code>input()<\/code> \u51fd\u6570\u4f1a\u7b49\u5f85\u7528\u6237\u8f93\u5165\u4e00\u884c\u6570\u5b57\uff0c\u7528\u6237\u4ee5\u7a7a\u683c\u5206\u9694\u5404\u4e2a\u6570\u5b57\u3002<code>split()<\/code> \u65b9\u6cd5\u4f1a\u5c06\u8f93\u5165\u7684\u5b57\u7b26\u4e32\u6309\u7167\u7a7a\u683c\u5206\u5272\u6210\u4e00\u4e2a\u5217\u8868\uff0c<code>map(int, ...)<\/code> \u4f1a\u5c06\u5217\u8868\u4e2d\u7684\u6bcf\u4e2a\u5143\u7d20\u8f6c\u6362\u6210\u6574\u6570\uff0c\u6700\u540e\u901a\u8fc7 <code>list()<\/code> \u51fd\u6570\u5c06\u5176\u8f6c\u6362\u6210\u4e00\u4e2a\u6574\u6570\u5217\u8868\u3002<\/p>\n<\/p>\n<p><h4>2\u3001\u4f7f\u7528\u5faa\u73af\u63a5\u6536\u591a\u4e2a\u6570\u5b57<\/h4>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u4f60\u53ef\u80fd\u5e0c\u671b\u9010\u4e2a\u63a5\u6536\u7528\u6237\u8f93\u5165\u7684\u6570\u5b57\uff0c\u76f4\u5230\u7528\u6237\u8f93\u5165\u67d0\u4e2a\u7279\u5b9a\u7684\u7ed3\u675f\u6807\u5fd7\uff08\u5982\u7a7a\u884c\u6216\u7279\u5b9a\u5b57\u7b26\uff09\u3002\u53ef\u4ee5\u4f7f\u7528\u5faa\u73af\u6765\u5b9e\u73b0\u8fd9\u4e00\u70b9\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">numbers = []<\/p>\n<p>while True:<\/p>\n<p>    user_input = input(&quot;\u8bf7\u8f93\u5165\u4e00\u4e2a\u6570\u5b57\uff08\u8f93\u5165&#39;\u7ed3\u675f&#39;\u7ed3\u675f\u8f93\u5165\uff09: &quot;)<\/p>\n<p>    if user_input.lower() == &#39;\u7ed3\u675f&#39;:<\/p>\n<p>        break<\/p>\n<p>    try:<\/p>\n<p>        number = float(user_input)  # \u53ef\u4ee5\u63a5\u6536\u6574\u6570\u548c\u6d6e\u70b9\u6570<\/p>\n<p>        numbers.append(number)<\/p>\n<p>    except ValueError:<\/p>\n<p>        print(&quot;\u8f93\u5165\u65e0\u6548\uff0c\u8bf7\u8f93\u5165\u4e00\u4e2a\u6570\u5b57\u3002&quot;)<\/p>\n<p>print(numbers)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u6bb5\u4ee3\u7801\u4e2d\uff0c\u4f7f\u7528\u4e00\u4e2a <code>while<\/code> \u5faa\u73af\u4e0d\u65ad\u63a5\u6536\u7528\u6237\u8f93\u5165\uff0c\u76f4\u5230\u7528\u6237\u8f93\u5165\u7279\u5b9a\u7684\u7ed3\u675f\u6807\u5fd7 <code>&#39;\u7ed3\u675f&#39;<\/code>\u3002\u6bcf\u6b21\u8f93\u5165\u540e\uff0c\u5c06\u8f93\u5165\u7684\u5b57\u7b26\u4e32\u5c1d\u8bd5\u8f6c\u6362\u6210\u6d6e\u70b9\u6570\uff0c\u5e76\u6dfb\u52a0\u5230\u5217\u8868\u4e2d\u3002\u5982\u679c\u8f6c\u6362\u5931\u8d25\uff0c\u7a0b\u5e8f\u4f1a\u63d0\u793a\u7528\u6237\u8f93\u5165\u65e0\u6548\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528\u51fd\u6570\u53c2\u6570<\/h3>\n<\/p>\n<p><p>\u53e6\u4e00\u79cd\u63a5\u6536\u4efb\u610f\u4e2a\u6570\u5b57\u7684\u65b9\u6cd5\u662f\u4f7f\u7528\u53ef\u53d8\u53c2\u6570\u7684\u51fd\u6570\u3002Python\u51fd\u6570\u53ef\u4ee5\u4f7f\u7528 <code>*args<\/code> \u6765\u63a5\u6536\u4efb\u610f\u6570\u91cf\u7684\u53c2\u6570\uff0c\u8fd9\u4e9b\u53c2\u6570\u4f1a\u88ab\u5b58\u50a8\u5728\u4e00\u4e2a\u5143\u7ec4\u4e2d\u3002<\/p>\n<\/p>\n<p><h4>1\u3001\u5b9a\u4e49\u63a5\u53d7\u53ef\u53d8\u53c2\u6570\u7684\u51fd\u6570<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\">def sum_numbers(*args):<\/p>\n<p>    return sum(args)<\/p>\n<h2><strong>\u8c03\u7528\u51fd\u6570\u65f6\u4f20\u5165\u4efb\u610f\u6570\u91cf\u7684\u6570\u5b57<\/strong><\/h2>\n<p>result = sum_numbers(1, 2, 3, 4, 5)<\/p>\n<p>print(result)  # \u8f93\u51fa 15<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c<code>sum_numbers<\/code> \u51fd\u6570\u4f7f\u7528 <code>*args<\/code> \u6765\u63a5\u6536\u4efb\u610f\u6570\u91cf\u7684\u53c2\u6570\uff0c\u5e76\u8fd4\u56de\u8fd9\u4e9b\u53c2\u6570\u7684\u548c\u3002\u8c03\u7528\u51fd\u6570\u65f6\uff0c\u53ef\u4ee5\u4f20\u5165\u4efb\u610f\u6570\u91cf\u7684\u6570\u5b57\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528\u96c6\u5408<\/h3>\n<\/p>\n<p><p>\u96c6\u5408\uff08set\uff09\u4e5f\u662f\u4e00\u79cd\u53ef\u4ee5\u5b58\u50a8\u591a\u4e2a\u5143\u7d20\u7684\u6570\u636e\u7ed3\u6784\u3002\u96c6\u5408\u4e2d\u7684\u5143\u7d20\u662f\u552f\u4e00\u7684\uff0c\u8fd9\u610f\u5473\u7740\u96c6\u5408\u4f1a\u81ea\u52a8\u53bb\u91cd\u3002<\/p>\n<\/p>\n<p><h4>1\u3001\u4f7f\u7528 <code>input()<\/code> \u51fd\u6570\u548c <code>split()<\/code> \u65b9\u6cd5<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\"># \u83b7\u53d6\u7528\u6237\u8f93\u5165\u7684\u4e00\u884c\u6570\u5b57\uff0c\u5e76\u5c06\u5176\u8f6c\u6362\u6210\u96c6\u5408<\/p>\n<p>numbers = set(map(int, input(&quot;\u8bf7\u8f93\u5165\u6570\u5b57\uff0c\u4ee5\u7a7a\u683c\u5206\u9694: &quot;).split()))<\/p>\n<p>print(numbers)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u6bb5\u4ee3\u7801\u4e0e\u4f7f\u7528\u5217\u8868\u7684\u65b9\u5f0f\u7c7b\u4f3c\uff0c\u53ea\u662f\u5c06\u5217\u8868\u6362\u6210\u4e86\u96c6\u5408\u3002<\/p>\n<\/p>\n<p><h4>2\u3001\u4f7f\u7528\u5faa\u73af\u63a5\u6536\u591a\u4e2a\u6570\u5b57<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\">numbers = set()<\/p>\n<p>while True:<\/p>\n<p>    user_input = input(&quot;\u8bf7\u8f93\u5165\u4e00\u4e2a\u6570\u5b57\uff08\u8f93\u5165&#39;\u7ed3\u675f&#39;\u7ed3\u675f\u8f93\u5165\uff09: &quot;)<\/p>\n<p>    if user_input.lower() == &#39;\u7ed3\u675f&#39;:<\/p>\n<p>        break<\/p>\n<p>    try:<\/p>\n<p>        number = float(user_input)<\/p>\n<p>        numbers.add(number)<\/p>\n<p>    except ValueError:<\/p>\n<p>        print(&quot;\u8f93\u5165\u65e0\u6548\uff0c\u8bf7\u8f93\u5165\u4e00\u4e2a\u6570\u5b57\u3002&quot;)<\/p>\n<p>print(numbers)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u6bb5\u4ee3\u7801\u4e2d\uff0c\u4f7f\u7528\u4e00\u4e2a <code>while<\/code> \u5faa\u73af\u4e0d\u65ad\u63a5\u6536\u7528\u6237\u8f93\u5165\uff0c\u5e76\u5c06\u8f93\u5165\u7684\u6570\u5b57\u6dfb\u52a0\u5230\u96c6\u5408\u4e2d\u3002\u4e0e\u5217\u8868\u4e0d\u540c\uff0c\u96c6\u5408\u4f1a\u81ea\u52a8\u53bb\u91cd\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u5728Python\u4e2d\u8f93\u5165\u4efb\u610f\u4e2a\u6570\u5b57\u7684\u65b9\u6cd5\u6709\u5f88\u591a\uff0c\u6700\u5e38\u7528\u7684\u662f<strong>\u4f7f\u7528\u5217\u8868\u3001\u51fd\u6570\u53c2\u6570\u548c\u96c6\u5408<\/strong>\u3002\u8fd9\u4e9b\u65b9\u6cd5\u5404\u6709\u4f18\u7f3a\u70b9\uff0c\u53ef\u4ee5\u6839\u636e\u5b9e\u9645\u9700\u6c42\u9009\u62e9\u6700\u9002\u5408\u7684\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><p><strong>\u4f7f\u7528\u5217\u8868<\/strong>\u7684\u4f18\u70b9\u662f\u7075\u6d3b\uff0c\u9002\u7528\u4e8e\u5927\u591a\u6570\u60c5\u51b5\uff0c\u53ef\u4ee5\u5b58\u50a8\u91cd\u590d\u7684\u6570\u5b57\uff1b<strong>\u4f7f\u7528\u51fd\u6570\u53c2\u6570<\/strong>\u7684\u4f18\u70b9\u662f\u7b80\u6d01\uff0c\u9002\u7528\u4e8e\u51fd\u6570\u8c03\u7528\u65f6\u4f20\u5165\u4efb\u610f\u6570\u91cf\u7684\u53c2\u6570\uff1b<strong>\u4f7f\u7528\u96c6\u5408<\/strong>\u7684\u4f18\u70b9\u662f\u81ea\u52a8\u53bb\u91cd\uff0c\u9002\u7528\u4e8e\u9700\u8981\u552f\u4e00\u5143\u7d20\u7684\u60c5\u51b5\u3002<\/p>\n<\/p>\n<p><p>\u65e0\u8bba\u9009\u62e9\u54ea\u79cd\u65b9\u6cd5\uff0c\u90fd\u53ef\u4ee5\u5e2e\u52a9\u4f60\u5728\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u7075\u6d3b\u5730\u63a5\u6536\u7528\u6237\u8f93\u5165\u7684\u6570\u5b57\uff0c\u5e76\u8fdb\u884c\u76f8\u5e94\u7684\u5904\u7406\u3002\u5e0c\u671b\u8fd9\u7bc7\u6587\u7ae0\u80fd\u5bf9\u4f60\u6709\u6240\u5e2e\u52a9\uff0c\u795d\u4f60\u7f16\u7a0b\u6109\u5feb\uff01<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u8f93\u5165\u591a\u4e2a\u6570\u5b57\u5e76\u5c06\u5b83\u4eec\u5b58\u50a8\u5728\u5217\u8868\u4e2d\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528<code>input()<\/code>\u51fd\u6570\u6765\u63a5\u6536\u7528\u6237\u8f93\u5165\u7684\u6570\u5b57\u3002\u4e3a\u4e86\u5c06\u8f93\u5165\u7684\u591a\u4e2a\u6570\u5b57\u5b58\u50a8\u5728\u5217\u8868\u4e2d\uff0c\u60a8\u53ef\u4ee5\u9996\u5148\u63d0\u793a\u7528\u6237\u8f93\u5165\u4e00\u4e32\u6570\u5b57\uff0c\u7136\u540e\u4f7f\u7528<code>split()<\/code>\u65b9\u6cd5\u5c06\u8fd9\u4e9b\u6570\u5b57\u5206\u5f00\uff0c\u6700\u540e\u5c06\u5b83\u4eec\u8f6c\u6362\u4e3a\u6574\u6570\u5e76\u5b58\u5165\u5217\u8868\u3002\u4f8b\u5982\uff1a  <\/p>\n<pre><code class=\"language-python\">user_input = input(&quot;\u8bf7\u8f93\u5165\u591a\u4e2a\u6570\u5b57\uff0c\u7528\u7a7a\u683c\u5206\u9694\uff1a&quot;)\nnumbers = [int(num) for num in user_input.split()]\nprint(numbers)\n<\/code><\/pre>\n<p>\u8fd9\u79cd\u65b9\u5f0f\u53ef\u4ee5\u7075\u6d3b\u5730\u5904\u7406\u7528\u6237\u8f93\u5165\u7684\u4efb\u610f\u6570\u91cf\u7684\u6570\u5b57\u3002<\/p>\n<p><strong>\u5728\u8f93\u5165\u6570\u5b57\u65f6\uff0c\u5982\u4f55\u5904\u7406\u975e\u6570\u5b57\u5b57\u7b26\u7684\u60c5\u51b5\uff1f<\/strong><br \/>\u5f53\u7528\u6237\u8f93\u5165\u7684\u5185\u5bb9\u4e2d\u53ef\u80fd\u5305\u542b\u975e\u6570\u5b57\u5b57\u7b26\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528\u5f02\u5e38\u5904\u7406\u6765\u786e\u4fdd\u7a0b\u5e8f\u7684\u7a33\u5b9a\u6027\u3002\u60a8\u53ef\u4ee5\u5728\u8f6c\u6362\u6570\u5b57\u65f6\u4f7f\u7528<code>try-except<\/code>\u5757\u6765\u6355\u6349\u9519\u8bef\u3002\u4f8b\u5982\uff1a  <\/p>\n<pre><code class=\"language-python\">user_input = input(&quot;\u8bf7\u8f93\u5165\u591a\u4e2a\u6570\u5b57\uff0c\u7528\u7a7a\u683c\u5206\u9694\uff1a&quot;)\nnumbers = []\nfor num in user_input.split():\n    try:\n        numbers.append(int(num))\n    except ValueError:\n        print(f&quot;&#39;{num}&#39; \u4e0d\u662f\u6709\u6548\u7684\u6570\u5b57\uff0c\u5c06\u88ab\u5ffd\u7565\u3002&quot;)\nprint(numbers)\n<\/code><\/pre>\n<p>\u8fd9\u79cd\u65b9\u6cd5\u786e\u4fdd\u4e86\u5373\u4f7f\u7528\u6237\u8f93\u5165\u4e86\u65e0\u6548\u5b57\u7b26\uff0c\u7a0b\u5e8f\u4e5f\u4e0d\u4f1a\u5d29\u6e83\u3002<\/p>\n<p><strong>Python\u4e2d\u662f\u5426\u6709\u5176\u4ed6\u65b9\u6cd5\u53ef\u4ee5\u63a5\u6536\u7528\u6237\u8f93\u5165\u7684\u6570\u5b57\uff1f<\/strong><br \/>\u9664\u4e86\u4f7f\u7528<code>input()<\/code>\u51fd\u6570\uff0c\u60a8\u8fd8\u53ef\u4ee5\u8003\u8651\u4f7f\u7528<code>sys.stdin<\/code>\u6765\u63a5\u6536\u8f93\u5165\uff0c\u7279\u522b\u662f\u5728\u5904\u7406\u5927\u91cf\u6570\u636e\u65f6\u3002\u8fd9\u79cd\u65b9\u6cd5\u53ef\u4ee5\u4ece\u6807\u51c6\u8f93\u5165\u6d41\u8bfb\u53d6\u6570\u636e\uff0c\u9002\u5408\u6279\u91cf\u5904\u7406\u3002\u4f8b\u5982\uff1a  <\/p>\n<pre><code class=\"language-python\">import sys\n\nprint(&quot;\u8bf7\u8f93\u5165\u591a\u4e2a\u6570\u5b57\uff0c\u7528\u7a7a\u683c\u5206\u9694\uff0c\u6309Ctrl+D\u7ed3\u675f\u8f93\u5165\uff1a&quot;)\nnumbers = list(map(int, sys.stdin.read().split()))\nprint(numbers)\n<\/code><\/pre>\n<p>\u8fd9\u79cd\u65b9\u5f0f\u5141\u8bb8\u7528\u6237\u901a\u8fc7\u6807\u51c6\u8f93\u5165\u8fde\u7eed\u8f93\u5165\u6570\u636e\uff0c\u76f4\u5230\u4ed6\u4eec\u9009\u62e9\u7ed3\u675f\u4e3a\u6b62\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u8f93\u5165\u4efb\u610f\u4e2a\u6570\u5b57\u7684\u65b9\u6cd5\u6709\u5f88\u591a\uff0c\u4f7f\u7528\u5217\u8868\u3001\u4f7f\u7528\u51fd\u6570\u53c2\u6570\u3001\u4f7f\u7528\u5faa\u73af\u3001\u4f7f\u7528\u96c6\u5408\u3002\u8fd9\u4e9b\u65b9\u6cd5\u80fd\u591f\u5e2e\u52a9\u4f60\u5728\u7f16 [&hellip;]","protected":false},"author":3,"featured_media":1079422,"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\/1079410"}],"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=1079410"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1079410\/revisions"}],"predecessor-version":[{"id":1079427,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1079410\/revisions\/1079427"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1079422"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1079410"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1079410"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1079410"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}