{"id":964861,"date":"2024-12-27T04:32:29","date_gmt":"2024-12-26T20:32:29","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/964861.html"},"modified":"2024-12-27T04:32:31","modified_gmt":"2024-12-26T20:32:31","slug":"python%e5%a6%82%e4%bd%951%e5%88%b0100","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/964861.html","title":{"rendered":"python\u5982\u4f551\u5230100"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24181437\/8bc8247b-5b6e-42a0-8fab-5df10b84ec5a.webp\" alt=\"python\u5982\u4f551\u5230100\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\u751f\u6210\u4ece1\u5230100\u7684\u6570\u5b57\u5e8f\u5217\uff0c\u53ef\u4ee5\u4f7f\u7528\u591a\u79cd\u65b9\u6cd5\uff0c\u5982<code>range<\/code>\u51fd\u6570\u3001\u5217\u8868\u89e3\u6790\u3001\u5faa\u73af\u7b49\u3002\u5176\u4e2d\uff0c\u6700\u5e38\u7528\u7684\u662f\u5229\u7528<code>range<\/code>\u51fd\u6570\u751f\u6210\u4e00\u4e2a\u6570\u5b57\u5e8f\u5217\uff0c\u7136\u540e\u5c06\u5176\u8f6c\u6362\u4e3a\u5217\u8868\u3002\u4ee5\u4e0b\u662f\u5177\u4f53\u7684\u65b9\u6cd5\uff1a<\/strong><\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4f7f\u7528<code>range<\/code>\u51fd\u6570\uff1a<\/strong> <code>range<\/code>\u51fd\u6570\u662fPython\u5185\u7f6e\u7684\u4e00\u4e2a\u975e\u5e38\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u7528\u4e8e\u751f\u6210\u4e00\u7cfb\u5217\u6570\u5b57\u3002\u5b83\u7684\u57fa\u672c\u4f7f\u7528\u65b9\u6cd5\u662f<code>range(start, stop[, step])<\/code>\u3002\u5982\u679c\u53ea\u63d0\u4f9b\u4e00\u4e2a\u53c2\u6570\uff0c\u5b83\u4f1a\u4ece0\u5f00\u59cb\u751f\u6210\u6570\u5b57\uff0c\u76f4\u5230\u53c2\u6570\u503c\u524d\u4e00\u4e2a\u6570\u5b57\u4e3a\u6b62\u3002\u5728\u751f\u62101\u5230100\u7684\u6570\u5b57\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528<code>range(1, 101)<\/code>\u3002<\/p>\n<\/p>\n<p><p>\u8be6\u7ec6\u63cf\u8ff0\uff1a<code>range<\/code>\u51fd\u6570\u4e0d\u4f1a\u76f4\u63a5\u751f\u6210\u4e00\u4e2a\u5217\u8868\uff0c\u800c\u662f\u751f\u6210\u4e00\u4e2a<code>range<\/code>\u5bf9\u8c61\uff0c\u5b83\u662f\u4e00\u4e2a\u53ef\u8fed\u4ee3\u5bf9\u8c61\u3002\u8fd9\u610f\u5473\u7740\u4f60\u53ef\u4ee5\u76f4\u63a5\u5728\u5faa\u73af\u4e2d\u4f7f\u7528<code>range<\/code>\uff0c\u4f8b\u5982<code>for i in range(1, 101)<\/code>\u3002\u5982\u679c\u9700\u8981\u5c06\u5176\u8f6c\u6362\u4e3a\u5217\u8868\uff0c\u53ef\u4ee5\u4f7f\u7528<code>list()<\/code>\u51fd\u6570\uff0c\u5982<code>list(range(1, 101))<\/code>\u3002\u8fd9\u79cd\u65b9\u6cd5\u5728\u5904\u7406\u5927\u8303\u56f4\u7684\u6570\u5b57\u65f6\u975e\u5e38\u9ad8\u6548\uff0c\u56e0\u4e3a<code>range<\/code>\u5bf9\u8c61\u4e0d\u4f1a\u5360\u7528\u5927\u91cf\u5185\u5b58\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5217\u8868\u89e3\u6790\uff1a<\/strong> \u5217\u8868\u89e3\u6790\u662f\u4e00\u79cd\u7b80\u6d01\u7684\u751f\u6210\u5217\u8868\u7684\u65b9\u6cd5\uff0c\u5b83\u7ed3\u5408\u4e86<code>for<\/code>\u5faa\u73af\u548c\u6761\u4ef6\u8bed\u53e5\u3002\u5bf9\u4e8e\u751f\u62101\u5230100\u7684\u6570\u5b57\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u8bed\u6cd5\uff1a<code>[i for i in range(1, 101)]<\/code>\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<hr>\n<p><h2>\u4e00\u3001\u4f7f\u7528<code>RANGE<\/code>\u51fd\u6570<\/h2>\n<\/p>\n<p><p><code>range<\/code>\u51fd\u6570\u662fPython\u4e2d\u751f\u6210\u5e8f\u5217\u7684\u57fa\u7840\u3002\u5b83\u7684\u7528\u6cd5\u7075\u6d3b\uff0c\u53ef\u4ee5\u751f\u6210\u4ece\u4efb\u610f\u8d77\u59cb\u70b9\u5230\u7ec8\u6b62\u70b9\u7684\u6570\u5b57\u5e8f\u5217\u3002<\/p>\n<\/p>\n<p><h3>1.1 \u57fa\u672c\u7528\u6cd5<\/h3>\n<\/p>\n<p><p><code>range<\/code>\u51fd\u6570\u53ef\u4ee5\u901a\u8fc7\u6307\u5b9a\u5f00\u59cb\u503c\u3001\u7ed3\u675f\u503c\u548c\u6b65\u957f\u6765\u751f\u6210\u5e8f\u5217\u3002\u5bf9\u4e8e1\u5230100\u7684\u573a\u666f\uff0c\u53ea\u9700\u8981\u6307\u5b9a\u5f00\u59cb\u503c\u4e3a1\uff0c\u7ed3\u675f\u503c\u4e3a101\uff08\u56e0\u4e3a\u7ed3\u675f\u503c\u662f\u5f00\u533a\u95f4\u7684\uff0c\u4e0d\u5305\u62ec\u5728\u5185\uff09\uff0c\u6b65\u957f\u9ed8\u8ba4\u4e3a1\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">numbers = range(1, 101)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u91cc\u7684<code>numbers<\/code>\u662f\u4e00\u4e2a<code>range<\/code>\u5bf9\u8c61\uff0c\u53ef\u4ee5\u5728\u9700\u8981\u65f6\u8f6c\u6362\u4e3a\u5217\u8868\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">numbers_list = list(numbers)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>1.2 \u5185\u5b58\u6548\u7387<\/h3>\n<\/p>\n<p><p><code>range<\/code>\u5bf9\u8c61\u662f\u60f0\u6027\u751f\u6210\u5e8f\u5217\u7684\uff0c\u8fd9\u610f\u5473\u7740\u5b83\u4e0d\u4f1a\u5c06\u6240\u6709\u7684\u6570\u5b57\u5728\u5185\u5b58\u4e2d\u5b58\u50a8\uff0c\u800c\u662f\u6309\u9700\u751f\u6210\u3002\u8fd9\u4f7f\u5f97<code>range<\/code>\u975e\u5e38\u9002\u5408\u5904\u7406\u5927\u8303\u56f4\u7684\u6570\u5b57\u5e8f\u5217\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">for num in numbers:<\/p>\n<p>    print(num)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u5f0f\u975e\u5e38\u9ad8\u6548\uff0c\u5373\u4f7f\u6570\u5b57\u8303\u56f4\u5f88\u5927\uff0c\u4e5f\u4e0d\u4f1a\u5bfc\u81f4\u5185\u5b58\u4e0d\u8db3\u3002<\/p>\n<\/p>\n<p><h2>\u4e8c\u3001\u5217\u8868\u89e3\u6790<\/h2>\n<\/p>\n<p><p>\u5217\u8868\u89e3\u6790\u662f\u4e00\u79cd\u7b80\u6d01\u800c\u5f3a\u5927\u7684\u751f\u6210\u5217\u8868\u7684\u65b9\u6cd5\uff0c\u9002\u7528\u4e8e\u9700\u8981\u5728\u4e00\u884c\u4ee3\u7801\u4e2d\u751f\u6210\u5217\u8868\u7684\u60c5\u51b5\u3002<\/p>\n<\/p>\n<p><h3>2.1 \u57fa\u672c\u8bed\u6cd5<\/h3>\n<\/p>\n<p><p>\u5217\u8868\u89e3\u6790\u5c06<code>for<\/code>\u5faa\u73af\u5d4c\u5165\u5230\u65b9\u62ec\u53f7\u4e2d\uff0c\u53ef\u4ee5\u5728\u751f\u6210\u5217\u8868\u7684\u540c\u65f6\u8fdb\u884c\u6761\u4ef6\u5224\u65ad\u6216\u6570\u636e\u5904\u7406\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">numbers = [i for i in range(1, 101)]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u5f0f\u4e0d\u4ec5\u7b80\u6d01\uff0c\u8fd8\u80fd\u591f\u76f4\u63a5\u5d4c\u5165\u6761\u4ef6\u8bed\u53e5\u8fdb\u884c\u66f4\u590d\u6742\u7684\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><h3>2.2 \u4e0e\u666e\u901a\u5faa\u73af\u7684\u5bf9\u6bd4<\/h3>\n<\/p>\n<p><p>\u76f8\u6bd4\u4e8e\u4f20\u7edf\u7684\u5faa\u73af\u751f\u6210\u5217\u8868\uff0c\u5217\u8868\u89e3\u6790\u66f4\u4e3a\u7b80\u6d01\u548c\u9ad8\u6548\u3002\u5728\u751f\u6210\u7b80\u5355\u5e8f\u5217\u65f6\uff0c\u5217\u8868\u89e3\u6790\u7684\u901f\u5ea6\u548c\u53ef\u8bfb\u6027\u90fd\u6709\u4f18\u52bf\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u666e\u901a\u5faa\u73af<\/p>\n<p>numbers = []<\/p>\n<p>for i in range(1, 101):<\/p>\n<p>    numbers.append(i)<\/p>\n<h2><strong>\u5217\u8868\u89e3\u6790<\/strong><\/h2>\n<p>numbers = [i for i in range(1, 101)]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5217\u8868\u89e3\u6790\u7684\u4ee3\u7801\u663e\u7136\u66f4\u52a0\u7b80\u6d01\u3002<\/p>\n<\/p>\n<p><h2>\u4e09\u3001\u4f7f\u7528\u5faa\u73af\u751f\u6210\u5e8f\u5217<\/h2>\n<\/p>\n<p><p>\u867d\u7136<code>range<\/code>\u548c\u5217\u8868\u89e3\u6790\u662f\u751f\u6210\u6570\u5b57\u5e8f\u5217\u7684\u9996\u9009\u65b9\u5f0f\uff0c\u4f46\u6709\u65f6\u4f7f\u7528\u5faa\u73af\u53ef\u4ee5\u63d0\u4f9b\u66f4\u9ad8\u7684\u7075\u6d3b\u6027\u3002<\/p>\n<\/p>\n<p><h3>3.1 \u4f7f\u7528<code>while<\/code>\u5faa\u73af<\/h3>\n<\/p>\n<p><p><code>while<\/code>\u5faa\u73af\u53ef\u4ee5\u5728\u6ee1\u8db3\u6761\u4ef6\u65f6\u6301\u7eed\u6267\u884c\uff0c\u975e\u5e38\u9002\u5408\u7528\u4e8e\u9700\u8981\u7075\u6d3b\u63a7\u5236\u7684\u573a\u666f\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">numbers = []<\/p>\n<p>i = 1<\/p>\n<p>while i &lt;= 100:<\/p>\n<p>    numbers.append(i)<\/p>\n<p>    i += 1<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u5f0f\u867d\u7136\u4e0d\u5982<code>range<\/code>\u7b80\u6d01\uff0c\u4f46\u5728\u9700\u8981\u52a8\u6001\u63a7\u5236\u5faa\u73af\u6761\u4ef6\u65f6\u975e\u5e38\u6709\u7528\u3002<\/p>\n<\/p>\n<p><h3>3.2 \u4f7f\u7528<code>for<\/code>\u5faa\u73af<\/h3>\n<\/p>\n<p><p><code>for<\/code>\u5faa\u73af\u5728\u904d\u5386\u56fa\u5b9a\u5e8f\u5217\u65f6\u8868\u73b0\u51fa\u8272\uff0c\u4f46\u4e5f\u53ef\u4ee5\u901a\u8fc7\u81ea\u5b9a\u4e49\u5e8f\u5217\u751f\u6210\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">numbers = []<\/p>\n<p>for i in range(1, 101):<\/p>\n<p>    numbers.append(i)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u5f0f\u7ed3\u5408\u4e86<code>range<\/code>\u7684\u4fbf\u5229\u6027\u548c\u5faa\u73af\u7684\u7075\u6d3b\u6027\u3002<\/p>\n<\/p>\n<p><h2>\u56db\u3001\u5e94\u7528\u573a\u666f<\/h2>\n<\/p>\n<p><p>\u751f\u62101\u5230100\u7684\u6570\u5b57\u5e8f\u5217\u5728\u8bb8\u591a\u573a\u666f\u4e2d\u90fd\u975e\u5e38\u6709\u7528\uff0c\u4ece\u7b80\u5355\u7684\u6253\u5370\u8f93\u51fa\u5230\u590d\u6742\u7684\u6570\u636e\u5904\u7406\u3002<\/p>\n<\/p>\n<p><h3>4.1 \u6570\u636e\u5904\u7406<\/h3>\n<\/p>\n<p><p>\u5728\u6570\u636e\u5904\u7406\u4e2d\uff0c\u7ecf\u5e38\u9700\u8981\u5bf9\u4e00\u5b9a\u8303\u56f4\u5185\u7684\u6570\u636e\u8fdb\u884c\u64cd\u4f5c\u3002\u751f\u62101\u5230100\u7684\u5e8f\u5217\u53ef\u4ee5\u7528\u4e8e\u7d22\u5f15\u6570\u636e\u3001\u5206\u6279\u5904\u7406\u7b49\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u6a21\u62df\u6570\u636e\u5904\u7406<\/p>\n<p>data = range(1, 101)<\/p>\n<p>processed_data = [x * 2 for x in data]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u5f0f\u53ef\u4ee5\u65b9\u4fbf\u5730\u5bf9\u6570\u636e\u8fdb\u884c\u6279\u91cf\u5904\u7406\u3002<\/p>\n<\/p>\n<p><h3>4.2 \u6570\u5b66\u8fd0\u7b97<\/h3>\n<\/p>\n<p><p>\u5728\u6570\u5b66\u8ba1\u7b97\u4e2d\uff0c\u751f\u6210\u4e00\u7cfb\u5217\u6570\u5b57\u53ef\u4ee5\u7528\u4e8e\u6c42\u548c\u3001\u7edf\u8ba1\u7b49\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u6c42\u548c<\/p>\n<p>sum_of_numbers = sum(range(1, 101))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u5f0f\u5229\u7528<code>range<\/code>\u7684\u9ad8\u6548\u6027\u548cPython\u5185\u7f6e\u51fd\u6570\u7684\u5f3a\u5927\uff0c\u5feb\u901f\u5b9e\u73b0\u8ba1\u7b97\u3002<\/p>\n<\/p>\n<p><h3>4.3 \u6570\u636e\u53ef\u89c6\u5316<\/h3>\n<\/p>\n<p><p>\u5728\u6570\u636e\u53ef\u89c6\u5316\u4e2d\uff0c\u751f\u6210\u4e00\u7cfb\u5217\u6570\u5b57\u53ef\u4ee5\u7528\u4e8e\u7ed8\u5236\u56fe\u8868\u3001\u751f\u6210\u5750\u6807\u7b49\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import matplotlib.pyplot as plt<\/p>\n<p>x = range(1, 101)<\/p>\n<p>y = [i2 for i in x]<\/p>\n<p>plt.plot(x, y)<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u7ed3\u5408<code>matplotlib<\/code>\u5e93\uff0c\u53ef\u4ee5\u5feb\u901f\u751f\u6210\u6570\u636e\u56fe\u8868\u3002<\/p>\n<\/p>\n<p><h2>\u4e94\u3001\u603b\u7ed3<\/h2>\n<\/p>\n<p><p>\u5728Python\u4e2d\u751f\u62101\u5230100\u7684\u6570\u5b57\u5e8f\u5217\u6709\u591a\u79cd\u65b9\u6cd5\u53ef\u4ee5\u9009\u62e9\uff0c<strong><code>range<\/code>\u51fd\u6570\u662f\u6700\u5e38\u7528\u4e14\u9ad8\u6548\u7684\u65b9\u6cd5<\/strong>\uff0c\u7279\u522b\u662f\u5728\u5904\u7406\u5927\u8303\u56f4\u7684\u6570\u5b57\u65f6\u8868\u73b0\u51fa\u8272\u3002\u5217\u8868\u89e3\u6790\u63d0\u4f9b\u4e86\u4e00\u79cd\u7b80\u6d01\u7684\u5199\u6cd5\uff0c\u9002\u5408\u7528\u4e8e\u751f\u6210\u548c\u5904\u7406\u5217\u8868\u6570\u636e\u3002\u5faa\u73af\u65b9\u6cd5\u867d\u7136\u4e0d\u5982\u524d\u4e24\u8005\u7b80\u6d01\uff0c\u4f46\u5728\u9700\u8981\u52a8\u6001\u63a7\u5236\u65f6\u975e\u5e38\u6709\u7528\u3002\u901a\u8fc7\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u53ef\u4ee5\u8f7b\u677e\u5b9e\u73b0\u4ece1\u5230100\u7684\u6570\u5b57\u5e8f\u5217\u751f\u6210\uff0c\u5e76\u5e94\u7528\u4e8e\u5404\u79cd\u6570\u636e\u5904\u7406\u548c\u8ba1\u7b97\u573a\u666f\u3002\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u4e0d\u4ec5\u80fd\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\uff0c\u8fd8\u80fd\u63d0\u5347\u7a0b\u5e8f\u7684\u6267\u884c\u6548\u7387\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u751f\u62101\u5230100\u7684\u6570\u5b57\uff1f<\/strong><br \/>\u53ef\u4ee5\u4f7f\u7528<code>range()<\/code>\u51fd\u6570\u751f\u62101\u5230100\u7684\u6570\u5b57\u3002\u4ee3\u7801\u5982\u4e0b\uff1a  <\/p>\n<pre><code class=\"language-python\">for i in range(1, 101):\n    print(i)\n<\/code><\/pre>\n<p>\u8fd9\u6bb5\u4ee3\u7801\u4f1a\u8f93\u51fa\u4ece1\u5230100\u7684\u6240\u6709\u6574\u6570\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Python\u4e2d\u8ba1\u7b971\u5230100\u7684\u603b\u548c\uff1f<\/strong><br \/>\u53ef\u4ee5\u4f7f\u7528<code>sum()<\/code>\u51fd\u6570\u7ed3\u5408<code>range()<\/code>\u51fd\u6570\u6765\u8ba1\u7b971\u5230100\u7684\u603b\u548c\u3002\u793a\u4f8b\u4ee3\u7801\u4e3a\uff1a  <\/p>\n<pre><code class=\"language-python\">total = sum(range(1, 101))\nprint(total)\n<\/code><\/pre>\n<p>\u6267\u884c\u540e\uff0c\u60a8\u4f1a\u5f97\u52305050\uff0c\u8fd9\u662f1\u5230100\u7684\u6240\u6709\u6570\u5b57\u7684\u603b\u548c\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u5982\u4f55\u7b5b\u9009\u51fa1\u5230100\u7684\u5076\u6570\uff1f<\/strong><br \/>\u53ef\u4ee5\u7ed3\u5408<code>range()<\/code>\u51fd\u6570\u548c\u6761\u4ef6\u8bed\u53e5\u6765\u83b7\u53d61\u5230100\u7684\u5076\u6570\u3002\u793a\u4f8b\u4ee3\u7801\u5982\u4e0b\uff1a  <\/p>\n<pre><code class=\"language-python\">even_numbers = [i for i in range(1, 101) if i % 2 == 0]\nprint(even_numbers)\n<\/code><\/pre>\n<p>\u8fd9\u6bb5\u4ee3\u7801\u4f1a\u8f93\u51fa1\u5230100\u4e4b\u95f4\u7684\u6240\u6709\u5076\u6570\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u751f\u6210\u4ece1\u5230100\u7684\u6570\u5b57\u5e8f\u5217\uff0c\u53ef\u4ee5\u4f7f\u7528\u591a\u79cd\u65b9\u6cd5\uff0c\u5982range\u51fd\u6570\u3001\u5217\u8868\u89e3\u6790\u3001\u5faa\u73af\u7b49\u3002\u5176\u4e2d\uff0c\u6700\u5e38\u7528 [&hellip;]","protected":false},"author":3,"featured_media":964869,"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\/964861"}],"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=964861"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/964861\/revisions"}],"predecessor-version":[{"id":964873,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/964861\/revisions\/964873"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/964869"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=964861"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=964861"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=964861"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}