{"id":1171479,"date":"2025-01-15T16:35:48","date_gmt":"2025-01-15T08:35:48","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1171479.html"},"modified":"2025-01-15T16:35:52","modified_gmt":"2025-01-15T08:35:52","slug":"python%e5%a6%82%e4%bd%95%e7%94%a8%e5%88%97%e8%a1%a8%e5%ad%98%e5%82%a8%e6%95%b0%e6%8d%ae","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1171479.html","title":{"rendered":"python\u5982\u4f55\u7528\u5217\u8868\u5b58\u50a8\u6570\u636e"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/26073819\/26c6eff8-5e79-4c0c-bec7-e31624d5c962.webp\" alt=\"python\u5982\u4f55\u7528\u5217\u8868\u5b58\u50a8\u6570\u636e\" \/><\/p>\n<p><p> <strong>Python \u4e2d\u53ef\u4ee5\u4f7f\u7528\u5217\u8868\u6765\u5b58\u50a8\u6570\u636e\uff0c\u5217\u8868\u662f\u4e00\u79cd\u6709\u5e8f\u7684\u3001\u53ef\u53d8\u7684\u96c6\u5408\uff0c\u53ef\u4ee5\u5b58\u50a8\u4efb\u610f\u7c7b\u578b\u7684\u6570\u636e\u3002\u5217\u8868\u901a\u8fc7\u65b9\u62ec\u53f7 <code>[]<\/code> \u5b9a\u4e49\uff0c\u5176\u4e2d\u7684\u5143\u7d20\u7528\u9017\u53f7 <code>,<\/code> \u5206\u9694\u3002\u5217\u8868\u53ef\u4ee5\u5b58\u50a8\u6570\u503c\u3001\u5b57\u7b26\u4e32\u3001\u5e03\u5c14\u503c\u3001\u751a\u81f3\u662f\u5176\u4ed6\u5217\u8868\u3002\u5e38\u89c1\u7684\u64cd\u4f5c\u6709\uff1a\u521b\u5efa\u5217\u8868\u3001\u8bbf\u95ee\u5217\u8868\u5143\u7d20\u3001\u4fee\u6539\u5217\u8868\u5143\u7d20\u3001\u6dfb\u52a0\u5143\u7d20\u3001\u5220\u9664\u5143\u7d20\u3001\u5217\u8868\u5207\u7247\u7b49\u3002<\/strong>\u5176\u4e2d\uff0c<strong>\u8bbf\u95ee\u5217\u8868\u5143\u7d20<\/strong>\u662f\u6700\u57fa\u672c\u7684\u64cd\u4f5c\u4e4b\u4e00\uff0c\u5217\u8868\u5143\u7d20\u901a\u8fc7\u7d22\u5f15\u8fdb\u884c\u8bbf\u95ee\uff0c\u7d22\u5f15\u4ece0\u5f00\u59cb\u3002\u4f8b\u5982\uff0c\u901a\u8fc7 <code>list[0]<\/code> \u53ef\u4ee5\u8bbf\u95ee\u5217\u8868\u7684\u7b2c\u4e00\u4e2a\u5143\u7d20\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u5217\u8868\u7684\u521b\u5efa\u4e0e\u521d\u59cb\u5316<\/h3>\n<\/p>\n<p><p>\u5728 Python \u4e2d\uff0c\u521b\u5efa\u5217\u8868\u7684\u65b9\u5f0f\u6709\u5f88\u591a\u79cd\uff0c\u53ef\u4ee5\u76f4\u63a5\u7528\u65b9\u62ec\u53f7 <code>[]<\/code> \u5b9a\u4e49\u4e00\u4e2a\u7a7a\u5217\u8868\uff0c\u6216\u8005\u5728\u65b9\u62ec\u53f7\u5185\u521d\u59cb\u5316\u5217\u8868\u7684\u5143\u7d20\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u521b\u5efa\u4e00\u4e2a\u7a7a\u5217\u8868<\/p>\n<p>empty_list = []<\/p>\n<h2><strong>\u521b\u5efa\u4e00\u4e2a\u5305\u542b\u4e00\u4e9b\u5143\u7d20\u7684\u5217\u8868<\/strong><\/h2>\n<p>numbers = [1, 2, 3, 4, 5]<\/p>\n<p>fruits = [&quot;apple&quot;, &quot;banana&quot;, &quot;cherry&quot;]<\/p>\n<p>mixed = [1, &quot;apple&quot;, 3.14, True]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e8c\u3001\u8bbf\u95ee\u5217\u8868\u5143\u7d20<\/h3>\n<\/p>\n<p><p>\u5217\u8868\u4e2d\u7684\u6bcf\u4e2a\u5143\u7d20\u90fd\u6709\u4e00\u4e2a\u7d22\u5f15\uff0c\u7d22\u5f15\u4ece 0 \u5f00\u59cb\u3002\u53ef\u4ee5\u901a\u8fc7\u7d22\u5f15\u6765\u8bbf\u95ee\u5217\u8868\u4e2d\u7684\u5143\u7d20\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u8bbf\u95ee\u5217\u8868\u4e2d\u7684\u7b2c\u4e00\u4e2a\u5143\u7d20<\/p>\n<p>first_number = numbers[0]  # 1<\/p>\n<p>first_fruit = fruits[0]    # &quot;apple&quot;<\/p>\n<h2><strong>\u8bbf\u95ee\u5217\u8868\u4e2d\u7684\u6700\u540e\u4e00\u4e2a\u5143\u7d20<\/strong><\/h2>\n<p>last_number = numbers[-1]  # 5<\/p>\n<p>last_fruit = fruits[-1]    # &quot;cherry&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u4fee\u6539\u5217\u8868\u5143\u7d20<\/h3>\n<\/p>\n<p><p>\u5217\u8868\u662f\u53ef\u53d8\u7684\uff0c\u8fd9\u610f\u5473\u7740\u53ef\u4ee5\u66f4\u6539\u5217\u8868\u4e2d\u7684\u5143\u7d20\u3002\u53ef\u4ee5\u901a\u8fc7\u7d22\u5f15\u6765\u4fee\u6539\u5217\u8868\u4e2d\u7684\u5143\u7d20\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u4fee\u6539\u5217\u8868\u4e2d\u7684\u5143\u7d20<\/p>\n<p>numbers[0] = 10  # numbers \u73b0\u5728\u662f [10, 2, 3, 4, 5]<\/p>\n<p>fruits[1] = &quot;blueberry&quot;  # fruits \u73b0\u5728\u662f [&quot;apple&quot;, &quot;blueberry&quot;, &quot;cherry&quot;]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u56db\u3001\u6dfb\u52a0\u5143\u7d20<\/h3>\n<\/p>\n<p><p>\u53ef\u4ee5\u4f7f\u7528 <code>append()<\/code> \u65b9\u6cd5\u5728\u5217\u8868\u7684\u672b\u5c3e\u6dfb\u52a0\u4e00\u4e2a\u5143\u7d20\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528 <code>insert()<\/code> \u65b9\u6cd5\u5728\u6307\u5b9a\u4f4d\u7f6e\u63d2\u5165\u4e00\u4e2a\u5143\u7d20\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u5728\u5217\u8868\u672b\u5c3e\u6dfb\u52a0\u5143\u7d20<\/p>\n<p>numbers.append(6)  # numbers \u73b0\u5728\u662f [10, 2, 3, 4, 5, 6]<\/p>\n<p>fruits.append(&quot;date&quot;)  # fruits \u73b0\u5728\u662f [&quot;apple&quot;, &quot;blueberry&quot;, &quot;cherry&quot;, &quot;date&quot;]<\/p>\n<h2><strong>\u5728\u5217\u8868\u7684\u6307\u5b9a\u4f4d\u7f6e\u63d2\u5165\u5143\u7d20<\/strong><\/h2>\n<p>numbers.insert(1, 15)  # numbers \u73b0\u5728\u662f [10, 15, 2, 3, 4, 5, 6]<\/p>\n<p>fruits.insert(2, &quot;banana&quot;)  # fruits \u73b0\u5728\u662f [&quot;apple&quot;, &quot;blueberry&quot;, &quot;banana&quot;, &quot;cherry&quot;, &quot;date&quot;]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e94\u3001\u5220\u9664\u5143\u7d20<\/h3>\n<\/p>\n<p><p>\u53ef\u4ee5\u4f7f\u7528 <code>remove()<\/code> \u65b9\u6cd5\u5220\u9664\u5217\u8868\u4e2d\u7684\u67d0\u4e2a\u5143\u7d20\uff0c\u4f7f\u7528 <code>pop()<\/code> \u65b9\u6cd5\u5220\u9664\u6307\u5b9a\u4f4d\u7f6e\u7684\u5143\u7d20\uff0c\u6216\u8005\u4f7f\u7528 <code>del<\/code> \u5173\u952e\u5b57\u5220\u9664\u5143\u7d20\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u4f7f\u7528 remove() \u5220\u9664\u5143\u7d20<\/p>\n<p>numbers.remove(15)  # numbers \u73b0\u5728\u662f [10, 2, 3, 4, 5, 6]<\/p>\n<p>fruits.remove(&quot;banana&quot;)  # fruits \u73b0\u5728\u662f [&quot;apple&quot;, &quot;blueberry&quot;, &quot;cherry&quot;, &quot;date&quot;]<\/p>\n<h2><strong>\u4f7f\u7528 pop() \u5220\u9664\u6307\u5b9a\u4f4d\u7f6e\u7684\u5143\u7d20<\/strong><\/h2>\n<p>last_number = numbers.pop()  # numbers \u73b0\u5728\u662f [10, 2, 3, 4, 5], last_number \u662f 6<\/p>\n<p>second_fruit = fruits.pop(1)  # fruits \u73b0\u5728\u662f [&quot;apple&quot;, &quot;cherry&quot;, &quot;date&quot;], second_fruit \u662f &quot;blueberry&quot;<\/p>\n<h2><strong>\u4f7f\u7528 del \u5220\u9664\u5143\u7d20<\/strong><\/h2>\n<p>del numbers[0]  # numbers \u73b0\u5728\u662f [2, 3, 4, 5]<\/p>\n<p>del fruits[1]  # fruits \u73b0\u5728\u662f [&quot;apple&quot;, &quot;date&quot;]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u516d\u3001\u5217\u8868\u5207\u7247<\/h3>\n<\/p>\n<p><p>\u5217\u8868\u5207\u7247\u53ef\u4ee5\u7528\u6765\u83b7\u53d6\u5217\u8868\u7684\u4e00\u4e2a\u5b50\u96c6\uff0c\u53ef\u4ee5\u6307\u5b9a\u8d77\u59cb\u4f4d\u7f6e\u548c\u7ed3\u675f\u4f4d\u7f6e\uff0c\u4ee5\u53ca\u6b65\u957f\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u5217\u8868\u5207\u7247<\/p>\n<p>sub_numbers = numbers[1:3]  # sub_numbers \u662f [3, 4]<\/p>\n<p>sub_fruits = fruits[:2]  # sub_fruits \u662f [&quot;apple&quot;, &quot;date&quot;]<\/p>\n<p>step_numbers = numbers[::2]  # step_numbers \u662f [2, 4]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e03\u3001\u5217\u8868\u7684\u65b9\u6cd5<\/h3>\n<\/p>\n<p><p>Python \u63d0\u4f9b\u4e86\u8bb8\u591a\u5185\u7f6e\u7684\u65b9\u6cd5\u6765\u64cd\u4f5c\u5217\u8868\uff0c\u8fd9\u4e9b\u65b9\u6cd5\u53ef\u4ee5\u6781\u5927\u5730\u65b9\u4fbf\u5217\u8868\u7684\u64cd\u4f5c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u4f7f\u7528 extend() \u5408\u5e76\u4e24\u4e2a\u5217\u8868<\/p>\n<p>numbers.extend([7, 8, 9])  # numbers \u73b0\u5728\u662f [2, 3, 4, 5, 7, 8, 9]<\/p>\n<h2><strong>\u4f7f\u7528 index() \u67e5\u627e\u5143\u7d20\u7684\u4f4d\u7f6e<\/strong><\/h2>\n<p>index_of_4 = numbers.index(4)  # index_of_4 \u662f 2<\/p>\n<h2><strong>\u4f7f\u7528 count() \u7edf\u8ba1\u67d0\u4e2a\u5143\u7d20\u51fa\u73b0\u7684\u6b21\u6570<\/strong><\/h2>\n<p>count_of_3 = numbers.count(3)  # count_of_3 \u662f 1<\/p>\n<h2><strong>\u4f7f\u7528 sort() \u5bf9\u5217\u8868\u8fdb\u884c\u6392\u5e8f<\/strong><\/h2>\n<p>numbers.sort()  # numbers \u73b0\u5728\u662f [2, 3, 4, 5, 7, 8, 9]<\/p>\n<h2><strong>\u4f7f\u7528 reverse() \u53cd\u8f6c\u5217\u8868<\/strong><\/h2>\n<p>numbers.reverse()  # numbers \u73b0\u5728\u662f [9, 8, 7, 5, 4, 3, 2]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u516b\u3001\u5217\u8868\u7684\u904d\u5386<\/h3>\n<\/p>\n<p><p>\u53ef\u4ee5\u4f7f\u7528 <code>for<\/code> \u5faa\u73af\u6765\u904d\u5386\u5217\u8868\u4e2d\u7684\u5143\u7d20\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u4f7f\u7528 for \u5faa\u73af\u904d\u5386\u5217\u8868<\/p>\n<p>for number in numbers:<\/p>\n<p>    print(number)<\/p>\n<p>for fruit in fruits:<\/p>\n<p>    print(fruit)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e5d\u3001\u5217\u8868\u63a8\u5bfc\u5f0f<\/h3>\n<\/p>\n<p><p>\u5217\u8868\u63a8\u5bfc\u5f0f\u662f\u4e00\u79cd\u7b80\u6d01\u7684\u521b\u5efa\u5217\u8868\u7684\u65b9\u5f0f\uff0c\u53ef\u4ee5\u7528\u6765\u751f\u6210\u5217\u8868\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u4f7f\u7528\u5217\u8868\u63a8\u5bfc\u5f0f\u751f\u6210\u5217\u8868<\/p>\n<p>squares = [x  2 for x in range(10)]  # squares \u662f [0, 1, 4, 9, 16, 25, 36, 49, 64, 81]<\/p>\n<h2><strong>\u4f7f\u7528\u6761\u4ef6\u8fc7\u6ee4\u751f\u6210\u5217\u8868<\/strong><\/h2>\n<p>even_squares = [x  2 for x in range(10) if x % 2 == 0]  # even_squares \u662f [0, 4, 16, 36, 64]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u5341\u3001\u5d4c\u5957\u5217\u8868<\/h3>\n<\/p>\n<p><p>\u5217\u8868\u4e2d\u53ef\u4ee5\u5305\u542b\u5176\u4ed6\u5217\u8868\uff0c\u8fd9\u79cd\u7ed3\u6784\u79f0\u4e3a\u5d4c\u5957\u5217\u8868\uff0c\u5e38\u7528\u4e8e\u8868\u793a\u77e9\u9635\u6216\u591a\u7ef4\u6570\u7ec4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u521b\u5efa\u4e00\u4e2a\u5d4c\u5957\u5217\u8868<\/p>\n<p>matrix = [<\/p>\n<p>    [1, 2, 3],<\/p>\n<p>    [4, 5, 6],<\/p>\n<p>    [7, 8, 9]<\/p>\n<p>]<\/p>\n<h2><strong>\u8bbf\u95ee\u5d4c\u5957\u5217\u8868\u4e2d\u7684\u5143\u7d20<\/strong><\/h2>\n<p>element = matrix[1][2]  # element \u662f 6<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u4ecb\u7ecd\uff0c\u53ef\u4ee5\u770b\u5230 Python \u5217\u8868\u529f\u80fd\u5f3a\u5927\u4e14\u7075\u6d3b\uff0c\u53ef\u4ee5\u7528\u4e8e\u5b58\u50a8\u548c\u5904\u7406\u5404\u79cd\u7c7b\u578b\u7684\u6570\u636e\u3002\u638c\u63e1\u5217\u8868\u7684\u57fa\u672c\u64cd\u4f5c\u548c\u9ad8\u7ea7\u7528\u6cd5\uff0c\u5bf9\u4e8e Python \u7f16\u7a0b\u81f3\u5173\u91cd\u8981\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u521b\u5efa\u548c\u521d\u59cb\u5316\u4e00\u4e2a\u5217\u8868\u4ee5\u5b58\u50a8\u6570\u636e\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u65b9\u62ec\u53f7 <code>[]<\/code> \u6765\u521b\u5efa\u4e00\u4e2a\u5217\u8868\u3002\u53ef\u4ee5\u5728\u521b\u5efa\u65f6\u76f4\u63a5\u521d\u59cb\u5316\u5217\u8868\uff0c\u4f8b\u5982 <code>my_list = [1, 2, 3]<\/code>\uff0c\u6216\u8005\u4f7f\u7528 <code>list()<\/code> \u51fd\u6570\u6765\u521b\u5efa\u4e00\u4e2a\u7a7a\u5217\u8868\uff0c\u540e\u7eed\u518d\u6dfb\u52a0\u6570\u636e\uff0c\u5982 <code>my_list = list()<\/code>\u3002\u5217\u8868\u53ef\u4ee5\u5b58\u50a8\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\uff0c\u5305\u62ec\u6570\u5b57\u3001\u5b57\u7b26\u4e32\u548c\u5176\u4ed6\u5bf9\u8c61\u3002<\/p>\n<p><strong>\u5982\u4f55\u5411\u5df2\u6709\u7684\u5217\u8868\u4e2d\u6dfb\u52a0\u6570\u636e\uff1f<\/strong><br \/>\u5411\u5217\u8868\u4e2d\u6dfb\u52a0\u6570\u636e\u53ef\u4ee5\u4f7f\u7528 <code>append()<\/code> \u65b9\u6cd5\uff0c\u5c06\u5355\u4e2a\u5143\u7d20\u52a0\u5165\u5217\u8868\u4e2d\u3002\u4f8b\u5982\uff0c<code>my_list.append(4)<\/code> \u4f1a\u5c06\u6570\u5b574\u6dfb\u52a0\u5230 <code>my_list<\/code> \u7684\u672b\u5c3e\u3002\u5982\u679c\u9700\u8981\u6dfb\u52a0\u591a\u4e2a\u5143\u7d20\uff0c\u53ef\u4ee5\u4f7f\u7528 <code>extend()<\/code> \u65b9\u6cd5\uff0c\u6216\u8005\u4f7f\u7528 <code>+<\/code> \u8fd0\u7b97\u7b26\u8fdb\u884c\u5217\u8868\u8fde\u63a5\uff0c\u5982 <code>my_list += [5, 6]<\/code>\u3002<\/p>\n<p><strong>\u5982\u4f55\u4ecePython\u5217\u8868\u4e2d\u5220\u9664\u7279\u5b9a\u7684\u6570\u636e\uff1f<\/strong><br \/>\u4ece\u5217\u8868\u4e2d\u5220\u9664\u5143\u7d20\u53ef\u4ee5\u4f7f\u7528 <code>remove()<\/code> \u65b9\u6cd5\uff0c\u4f20\u5165\u8981\u5220\u9664\u7684\u5143\u7d20\u503c\uff0c\u5982 <code>my_list.remove(2)<\/code>\u3002\u5982\u679c\u5e0c\u671b\u5220\u9664\u7279\u5b9a\u7d22\u5f15\u4f4d\u7f6e\u7684\u5143\u7d20\uff0c\u53ef\u4ee5\u4f7f\u7528 <code>pop()<\/code> \u65b9\u6cd5\uff0c\u4f8b\u5982 <code>my_list.pop(1)<\/code> \u4f1a\u5220\u9664\u5e76\u8fd4\u56de\u7d22\u5f15\u4e3a1\u7684\u5143\u7d20\u3002\u6b64\u5916\uff0c\u4f7f\u7528 <code>del<\/code> \u8bed\u53e5\u4e5f\u80fd\u5220\u9664\u7279\u5b9a\u7d22\u5f15\u7684\u5143\u7d20\uff0c\u8bed\u6cd5\u4e3a <code>del my_list[0]<\/code>\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python \u4e2d\u53ef\u4ee5\u4f7f\u7528\u5217\u8868\u6765\u5b58\u50a8\u6570\u636e\uff0c\u5217\u8868\u662f\u4e00\u79cd\u6709\u5e8f\u7684\u3001\u53ef\u53d8\u7684\u96c6\u5408\uff0c\u53ef\u4ee5\u5b58\u50a8\u4efb\u610f\u7c7b\u578b\u7684\u6570\u636e\u3002\u5217\u8868\u901a\u8fc7\u65b9\u62ec\u53f7 [&hellip;]","protected":false},"author":3,"featured_media":1171488,"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\/1171479"}],"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=1171479"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1171479\/revisions"}],"predecessor-version":[{"id":1171490,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1171479\/revisions\/1171490"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1171488"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1171479"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1171479"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1171479"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}