{"id":1128107,"date":"2025-01-08T20:17:02","date_gmt":"2025-01-08T12:17:02","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1128107.html"},"modified":"2025-01-08T20:17:04","modified_gmt":"2025-01-08T12:17:04","slug":"python%e4%b8%ad%e5%a6%82%e4%bd%95%e5%8f%96%e4%b8%a4%e4%b8%aa%e7%9b%b8%e5%90%8c%e7%9a%84%e6%9d%a1%e4%bb%b6","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1128107.html","title":{"rendered":"python\u4e2d\u5982\u4f55\u53d6\u4e24\u4e2a\u76f8\u540c\u7684\u6761\u4ef6"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25094926\/721db7e1-d690-4f3c-ae29-d92567e815ce.webp\" alt=\"python\u4e2d\u5982\u4f55\u53d6\u4e24\u4e2a\u76f8\u540c\u7684\u6761\u4ef6\" \/><\/p>\n<p><h3>Python\u4e2d\u5982\u4f55\u53d6\u4e24\u4e2a\u76f8\u540c\u7684\u6761\u4ef6<\/h3>\n<\/p>\n<p><p><strong>\u5728Python\u4e2d\uff0c\u53d6\u4e24\u4e2a\u76f8\u540c\u7684\u6761\u4ef6\u53ef\u4ee5\u901a\u8fc7\u903b\u8f91\u8fd0\u7b97\u7b26\u5b9e\u73b0\uff0c\u5982<code>and<\/code>\u3001<code>or<\/code>\u3001<code>==<\/code>\u7b49\uff0c\u6700\u5e38\u7528\u7684\u65b9\u5f0f\u5305\u62ec\u5e03\u5c14\u8fd0\u7b97\u3001\u96c6\u5408\u8fd0\u7b97\u3001\u5217\u8868\u89e3\u6790\u7b49\u3002<\/strong> \u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528\u5e03\u5c14\u8fd0\u7b97\u7b26<code>and<\/code>\u6765\u540c\u65f6\u6ee1\u8db3\u4e24\u4e2a\u6761\u4ef6\u3002\u6211\u4eec\u5c06\u8be6\u7ec6\u8ba8\u8bba\u4f7f\u7528\u8fd9\u4e9b\u65b9\u6cd5\u7684\u6700\u4f73\u5b9e\u8df5\uff0c\u4ee5\u53ca\u5b83\u4eec\u7684\u5e94\u7528\u573a\u666f\u3002<\/p>\n<\/p>\n<p><h4>\u4e00\u3001\u5e03\u5c14\u8fd0\u7b97\u7b26 <code>and<\/code> \u548c <code>or<\/code><\/h4>\n<\/p>\n<p><p>\u4f7f\u7528\u5e03\u5c14\u8fd0\u7b97\u7b26\u662f\u6700\u57fa\u7840\u4e5f\u662f\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u4e4b\u4e00\u3002\u901a\u8fc7<code>and<\/code>\u548c<code>or<\/code>\u8fd0\u7b97\u7b26\uff0c\u6211\u4eec\u53ef\u4ee5\u5728\u6761\u4ef6\u8bed\u53e5\u4e2d\u5bf9\u591a\u4e2a\u6761\u4ef6\u8fdb\u884c\u903b\u8f91\u7ec4\u5408\u3002<\/p>\n<\/p>\n<p><h5>1.1 \u4f7f\u7528 <code>and<\/code> \u8fd0\u7b97\u7b26<\/h5>\n<\/p>\n<p><p><code>and<\/code> \u8fd0\u7b97\u7b26\u7528\u4e8e\u5f53\u4e24\u4e2a\u6761\u4ef6\u90fd\u4e3a\u771f\u65f6\uff0c\u8fd4\u56de\u771f\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">x = 10<\/p>\n<p>y = 20<\/p>\n<p>if x &gt; 5 and y &gt; 15:<\/p>\n<p>    print(&quot;Both conditions are met&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u53ea\u6709\u5f53<code>x &gt; 5<\/code>\u548c<code>y &gt; 15<\/code>\u4e24\u4e2a\u6761\u4ef6\u90fd\u6ee1\u8db3\u65f6\uff0c\u4ee3\u7801\u624d\u4f1a\u6267\u884c<code>print<\/code>\u8bed\u53e5\u3002<\/p>\n<\/p>\n<p><h5>1.2 \u4f7f\u7528 <code>or<\/code> \u8fd0\u7b97\u7b26<\/h5>\n<\/p>\n<p><p><code>or<\/code> \u8fd0\u7b97\u7b26\u7528\u4e8e\u5f53\u81f3\u5c11\u4e00\u4e2a\u6761\u4ef6\u4e3a\u771f\u65f6\uff0c\u8fd4\u56de\u771f\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">x = 10<\/p>\n<p>y = 5<\/p>\n<p>if x &gt; 5 or y &gt; 15:<\/p>\n<p>    print(&quot;At least one condition is met&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u53ea\u8981\u4e00\u4e2a\u6761\u4ef6\u4e3a\u771f\uff0c\u4ee3\u7801\u5c31\u4f1a\u6267\u884c<code>print<\/code>\u8bed\u53e5\u3002<\/p>\n<\/p>\n<p><h4>\u4e8c\u3001\u4f7f\u7528 <code>==<\/code> \u548c <code>!=<\/code> \u6bd4\u8f83\u8fd0\u7b97\u7b26<\/h4>\n<\/p>\n<p><p>\u6bd4\u8f83\u8fd0\u7b97\u7b26<code>==<\/code>\u548c<code>!=<\/code>\u5e38\u7528\u4e8e\u6bd4\u8f83\u4e24\u4e2a\u503c\u662f\u5426\u76f8\u7b49\u6216\u4e0d\u76f8\u7b49\u3002<\/p>\n<\/p>\n<p><h5>2.1 \u4f7f\u7528 <code>==<\/code> \u8fd0\u7b97\u7b26<\/h5>\n<\/p>\n<p><p><code>==<\/code> \u8fd0\u7b97\u7b26\u7528\u4e8e\u68c0\u67e5\u4e24\u4e2a\u503c\u662f\u5426\u76f8\u7b49\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">a = 10<\/p>\n<p>b = 10<\/p>\n<p>if a == b:<\/p>\n<p>    print(&quot;Both variables are equal&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u53ea\u6709\u5f53<code>a<\/code>\u548c<code>b<\/code>\u76f8\u7b49\u65f6\uff0c\u4ee3\u7801\u624d\u4f1a\u6267\u884c<code>print<\/code>\u8bed\u53e5\u3002<\/p>\n<\/p>\n<p><h5>2.2 \u4f7f\u7528 <code>!=<\/code> \u8fd0\u7b97\u7b26<\/h5>\n<\/p>\n<p><p><code>!=<\/code> \u8fd0\u7b97\u7b26\u7528\u4e8e\u68c0\u67e5\u4e24\u4e2a\u503c\u662f\u5426\u4e0d\u76f8\u7b49\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">a = 10<\/p>\n<p>b = 20<\/p>\n<p>if a != b:<\/p>\n<p>    print(&quot;The variables are not equal&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u53ea\u6709\u5f53<code>a<\/code>\u548c<code>b<\/code>\u4e0d\u76f8\u7b49\u65f6\uff0c\u4ee3\u7801\u624d\u4f1a\u6267\u884c<code>print<\/code>\u8bed\u53e5\u3002<\/p>\n<\/p>\n<p><h4>\u4e09\u3001\u4f7f\u7528\u96c6\u5408\u548c\u5217\u8868\u89e3\u6790<\/h4>\n<\/p>\n<p><p>\u96c6\u5408\u548c\u5217\u8868\u89e3\u6790\u63d0\u4f9b\u4e86\u4e00\u79cd\u7b80\u6d01\u3001\u9ad8\u6548\u7684\u65b9\u5f0f\u6765\u5904\u7406\u591a\u4e2a\u6761\u4ef6\u3002<\/p>\n<\/p>\n<p><h5>3.1 \u4f7f\u7528\u96c6\u5408\u8fd0\u7b97<\/h5>\n<\/p>\n<p><p>\u96c6\u5408\u8fd0\u7b97\u53ef\u4ee5\u7528\u4e8e\u68c0\u67e5\u4e24\u4e2a\u96c6\u5408\u7684\u4ea4\u96c6\u3001\u5e76\u96c6\u7b49\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">set1 = {1, 2, 3, 4}<\/p>\n<p>set2 = {3, 4, 5, 6}<\/p>\n<p>common_elements = set1 &amp; set2<\/p>\n<p>if common_elements:<\/p>\n<p>    print(&quot;Common elements found:&quot;, common_elements)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528<code>&amp;<\/code>\u8fd0\u7b97\u7b26\u627e\u5230\u4e24\u4e2a\u96c6\u5408\u7684\u4ea4\u96c6\uff0c\u5e76\u68c0\u67e5\u662f\u5426\u5b58\u5728\u5171\u540c\u5143\u7d20\u3002<\/p>\n<\/p>\n<p><h5>3.2 \u4f7f\u7528\u5217\u8868\u89e3\u6790<\/h5>\n<\/p>\n<p><p>\u5217\u8868\u89e3\u6790\u53ef\u4ee5\u7528\u4e8e\u5728\u6ee1\u8db3\u591a\u4e2a\u6761\u4ef6\u65f6\u751f\u6210\u65b0\u7684\u5217\u8868\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">numbers = [1, 2, 3, 4, 5, 6]<\/p>\n<p>filtered_numbers = [num for num in numbers if num &gt; 2 and num &lt; 5]<\/p>\n<p>print(&quot;Filtered numbers:&quot;, filtered_numbers)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528\u5217\u8868\u89e3\u6790\u751f\u6210\u4e00\u4e2a\u65b0\u5217\u8868\uff0c\u5305\u542b\u6240\u6709\u6ee1\u8db3<code>num &gt; 2<\/code>\u548c<code>num &lt; 5<\/code>\u6761\u4ef6\u7684\u5143\u7d20\u3002<\/p>\n<\/p>\n<p><h4>\u56db\u3001\u4f7f\u7528 <code>filter()<\/code> \u51fd\u6570<\/h4>\n<\/p>\n<p><p><code>filter()<\/code> \u51fd\u6570\u53ef\u4ee5\u7528\u4e8e\u6839\u636e\u6761\u4ef6\u8fc7\u6ee4\u5143\u7d20\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">numbers = [1, 2, 3, 4, 5, 6]<\/p>\n<p>filtered_numbers = list(filter(lambda x: x &gt; 2 and x &lt; 5, numbers))<\/p>\n<p>print(&quot;Filtered numbers:&quot;, filtered_numbers)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528<code>filter()<\/code>\u51fd\u6570\u548c<code>lambda<\/code>\u8868\u8fbe\u5f0f\u6765\u8fc7\u6ee4\u5217\u8868\u4e2d\u7684\u5143\u7d20\uff0c\u751f\u6210\u4e00\u4e2a\u65b0\u5217\u8868\u3002<\/p>\n<\/p>\n<p><h4>\u4e94\u3001\u4f7f\u7528 <code>all()<\/code> \u548c <code>any()<\/code> \u51fd\u6570<\/h4>\n<\/p>\n<p><p><code>all()<\/code>\u548c<code>any()<\/code>\u51fd\u6570\u53ef\u4ee5\u7528\u4e8e\u68c0\u67e5\u591a\u4e2a\u6761\u4ef6\u662f\u5426\u5168\u90e8\u6ee1\u8db3\u6216\u81f3\u5c11\u4e00\u4e2a\u6ee1\u8db3\u3002<\/p>\n<\/p>\n<p><h5>5.1 \u4f7f\u7528 <code>all()<\/code> \u51fd\u6570<\/h5>\n<\/p>\n<p><p><code>all()<\/code> \u51fd\u6570\u7528\u4e8e\u68c0\u67e5\u6240\u6709\u6761\u4ef6\u662f\u5426\u90fd\u4e3a\u771f\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">conditions = [True, True, False]<\/p>\n<p>if all(conditions):<\/p>\n<p>    print(&quot;All conditions are met&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(&quot;Not all conditions are met&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u53ea\u6709\u5f53\u6240\u6709\u6761\u4ef6\u90fd\u4e3a\u771f\u65f6\uff0c<code>all()<\/code>\u51fd\u6570\u624d\u8fd4\u56de\u771f\u3002<\/p>\n<\/p>\n<p><h5>5.2 \u4f7f\u7528 <code>any()<\/code> \u51fd\u6570<\/h5>\n<\/p>\n<p><p><code>any()<\/code> \u51fd\u6570\u7528\u4e8e\u68c0\u67e5\u81f3\u5c11\u4e00\u4e2a\u6761\u4ef6\u4e3a\u771f\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">conditions = [False, True, False]<\/p>\n<p>if any(conditions):<\/p>\n<p>    print(&quot;At least one condition is met&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(&quot;No conditions are met&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u53ea\u8981\u6709\u4e00\u4e2a\u6761\u4ef6\u4e3a\u771f\uff0c<code>any()<\/code>\u51fd\u6570\u5c31\u8fd4\u56de\u771f\u3002<\/p>\n<\/p>\n<p><h4>\u516d\u3001\u7ed3\u5408\u591a\u4e2a\u65b9\u6cd5<\/h4>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u6211\u4eec\u7ecf\u5e38\u9700\u8981\u7ed3\u5408\u591a\u4e2a\u65b9\u6cd5\u6765\u5904\u7406\u590d\u6742\u7684\u903b\u8f91\u6761\u4ef6\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">numbers = [1, 2, 3, 4, 5, 6]<\/p>\n<p>filtered_numbers = [num for num in filter(lambda x: x &gt; 2, numbers) if num &lt; 5]<\/p>\n<p>print(&quot;Filtered numbers:&quot;, filtered_numbers)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u7ed3\u5408\u4e86<code>filter()<\/code>\u51fd\u6570\u548c\u5217\u8868\u89e3\u6790\u6765\u8fc7\u6ee4\u5217\u8868\u4e2d\u7684\u5143\u7d20\uff0c\u751f\u6210\u4e00\u4e2a\u65b0\u5217\u8868\u3002<\/p>\n<\/p>\n<p><p>\u7efc\u4e0a\u6240\u8ff0\uff0cPython\u63d0\u4f9b\u4e86\u591a\u79cd\u65b9\u6cd5\u6765\u5904\u7406\u591a\u4e2a\u6761\u4ef6\uff0c\u5305\u62ec\u5e03\u5c14\u8fd0\u7b97\u7b26\u3001\u6bd4\u8f83\u8fd0\u7b97\u7b26\u3001\u96c6\u5408\u8fd0\u7b97\u3001\u5217\u8868\u89e3\u6790\u3001<code>filter()<\/code>\u51fd\u6570\u4ee5\u53ca<code>all()<\/code>\u548c<code>any()<\/code>\u51fd\u6570\u3002\u6839\u636e\u5177\u4f53\u5e94\u7528\u573a\u666f\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\uff0c\u53ef\u4ee5\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u6548\u7387\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5728Python\u4e2d\uff0c\u5982\u4f55\u5224\u65ad\u4e24\u4e2a\u6761\u4ef6\u662f\u5426\u76f8\u7b49\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>==<\/code>\u8fd0\u7b97\u7b26\u6765\u6bd4\u8f83\u4e24\u4e2a\u6761\u4ef6\u662f\u5426\u76f8\u7b49\u3002\u4f8b\u5982\uff0c\u5982\u679c\u8981\u68c0\u67e5\u53d8\u91cf<code>a<\/code>\u548c<code>b<\/code>\u662f\u5426\u76f8\u540c\uff0c\u53ef\u4ee5\u4f7f\u7528<code>if a == b:<\/code>\u8bed\u53e5\u3002\u5982\u679c\u6761\u4ef6\u6210\u7acb\uff0c\u5219\u53ef\u4ee5\u6267\u884c\u76f8\u5173\u64cd\u4f5c\u3002\u8fd9\u79cd\u65b9\u5f0f\u9002\u7528\u4e8e\u6570\u5b57\u3001\u5b57\u7b26\u4e32\u3001\u5217\u8868\u7b49\u591a\u79cd\u6570\u636e\u7c7b\u578b\u7684\u6bd4\u8f83\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Python\u4e2d\u5904\u7406\u591a\u4e2a\u6761\u4ef6\uff1f<\/strong><br \/>\u53ef\u4ee5\u4f7f\u7528\u903b\u8f91\u8fd0\u7b97\u7b26<code>and<\/code>\u548c<code>or<\/code>\u6765\u7ec4\u5408\u591a\u4e2a\u6761\u4ef6\u3002\u4f8b\u5982\uff0c<code>if condition1 and condition2:<\/code>\u53ef\u4ee5\u7528\u4e8e\u68c0\u67e5\u4e24\u4e2a\u6761\u4ef6\u662f\u5426\u540c\u65f6\u4e3a\u771f\u3002\u800c<code>if condition1 or condition2:<\/code>\u5219\u7528\u4e8e\u68c0\u67e5\u81f3\u5c11\u4e00\u4e2a\u6761\u4ef6\u4e3a\u771f\u3002\u8fd9\u79cd\u65b9\u6cd5\u5728\u7f16\u5199\u590d\u6742\u7684\u6761\u4ef6\u8bed\u53e5\u65f6\u975e\u5e38\u6709\u7528\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\uff0c\u5982\u4f55\u4f7f\u7528\u5217\u8868\u63a8\u5bfc\u5f0f\u6765\u7b5b\u9009\u7b26\u5408\u7279\u5b9a\u6761\u4ef6\u7684\u5143\u7d20\uff1f<\/strong><br \/>\u5217\u8868\u63a8\u5bfc\u5f0f\u662f\u4e00\u79cd\u7b80\u6d01\u7684\u8bed\u6cd5\uff0c\u7528\u4e8e\u4ece\u4e00\u4e2a\u53ef\u8fed\u4ee3\u5bf9\u8c61\u4e2d\u7b5b\u9009\u51fa\u7b26\u5408\u7279\u5b9a\u6761\u4ef6\u7684\u5143\u7d20\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528<code>[x for x in iterable if condition]<\/code>\u7684\u683c\u5f0f\u6765\u521b\u5efa\u4e00\u4e2a\u65b0\u5217\u8868\uff0c\u5176\u4e2d<code>iterable<\/code>\u662f\u8981\u904d\u5386\u7684\u5bf9\u8c61\uff0c<code>condition<\/code>\u662f\u7b5b\u9009\u7684\u6761\u4ef6\u3002\u8fd9\u79cd\u65b9\u5f0f\u975e\u5e38\u9ad8\u6548\u4e14\u6613\u4e8e\u9605\u8bfb\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u4e2d\u5982\u4f55\u53d6\u4e24\u4e2a\u76f8\u540c\u7684\u6761\u4ef6 \u5728Python\u4e2d\uff0c\u53d6\u4e24\u4e2a\u76f8\u540c\u7684\u6761\u4ef6\u53ef\u4ee5\u901a\u8fc7\u903b\u8f91\u8fd0\u7b97\u7b26\u5b9e\u73b0\uff0c\u5982and\u3001or\u3001 [&hellip;]","protected":false},"author":3,"featured_media":1128110,"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\/1128107"}],"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=1128107"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1128107\/revisions"}],"predecessor-version":[{"id":1128111,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1128107\/revisions\/1128111"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1128110"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1128107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1128107"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1128107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}