{"id":1002910,"date":"2024-12-27T10:12:46","date_gmt":"2024-12-27T02:12:46","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1002910.html"},"modified":"2024-12-27T10:12:48","modified_gmt":"2024-12-27T02:12:48","slug":"python%e5%a6%82%e4%bd%95%e8%a1%a8%e7%a4%ba%e5%9b%9e%e6%96%87%e6%95%b0","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1002910.html","title":{"rendered":"python\u5982\u4f55\u8868\u793a\u56de\u6587\u6570"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25080457\/a67bbf16-ea69-4b3d-b8fc-04db25391abd.webp\" alt=\"python\u5982\u4f55\u8868\u793a\u56de\u6587\u6570\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\uff0c\u56de\u6587\u6570\u53ef\u4ee5\u901a\u8fc7\u5b57\u7b26\u4e32\u53cd\u8f6c\u3001\u9012\u5f52\u3001\u5faa\u73af\u7b49\u65b9\u6cd5\u6765\u8868\u793a<\/strong>\u3002\u5176\u4e2d\uff0c<strong>\u5b57\u7b26\u4e32\u53cd\u8f6c<\/strong>\u662f\u6700\u5e38\u89c1\u7684\u65b9\u6cd5\uff0c\u56e0\u4e3aPython\u5bf9\u5b57\u7b26\u4e32\u7684\u64cd\u4f5c\u975e\u5e38\u7075\u6d3b\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7\u5c06\u6570\u5b57\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\uff0c\u7136\u540e\u53cd\u8f6c\u5b57\u7b26\u4e32\u6765\u68c0\u67e5\u56de\u6587\u6027\u3002\u4e0b\u9762\u6211\u4eec\u5c06\u8be6\u7ec6\u63a2\u8ba8\u8fd9\u4e9b\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u5b57\u7b26\u4e32\u53cd\u8f6c\u6cd5<\/p>\n<\/p>\n<p><p>\u8981\u5224\u65ad\u4e00\u4e2a\u6570\u662f\u5426\u4e3a\u56de\u6587\u6570\uff0c\u6700\u7b80\u5355\u7684\u65b9\u6cd5\u662f\u5c06\u5176\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\uff0c\u7136\u540e\u53cd\u8f6c\u5b57\u7b26\u4e32\uff0c\u68c0\u67e5\u53cd\u8f6c\u540e\u7684\u5b57\u7b26\u4e32\u662f\u5426\u4e0e\u539f\u5b57\u7b26\u4e32\u76f8\u540c\u3002\u4ee5\u4e0b\u662f\u5177\u4f53\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32<\/strong>\uff1a\u5c06\u6570\u5b57\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\u3002<\/li>\n<li><strong>\u53cd\u8f6c\u5b57\u7b26\u4e32<\/strong>\uff1a\u4f7f\u7528Python\u7684\u5207\u7247\u529f\u80fd\u53cd\u8f6c\u5b57\u7b26\u4e32\u3002<\/li>\n<li><strong>\u6bd4\u8f83\u539f\u5b57\u7b26\u4e32\u4e0e\u53cd\u8f6c\u540e\u7684\u5b57\u7b26\u4e32<\/strong>\uff1a\u5982\u679c\u4e24\u8005\u76f8\u540c\uff0c\u5219\u6570\u5b57\u4e3a\u56de\u6587\u6570\u3002<\/li>\n<\/ol>\n<p><p>\u793a\u4f8b\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def is_palindrome(n):<\/p>\n<p>    s = str(n)<\/p>\n<p>    return s == s[::-1]<\/p>\n<p>number = 121<\/p>\n<p>print(is_palindrome(number))  # \u8f93\u51fa: True<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u9996\u5148\u5c06\u6570\u5b57<code>121<\/code>\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\uff0c\u7136\u540e\u901a\u8fc7\u5207\u7247\u64cd\u4f5c<code>[::-1]<\/code>\u53cd\u8f6c\u5b57\u7b26\u4e32\u3002\u6700\u540e\uff0c\u6211\u4eec\u6bd4\u8f83\u539f\u59cb\u5b57\u7b26\u4e32\u548c\u53cd\u8f6c\u540e\u7684\u5b57\u7b26\u4e32\u3002\u5982\u679c\u5b83\u4eec\u76f8\u7b49\uff0c\u5219\u8be5\u6570\u5b57\u662f\u56de\u6587\u6570\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u9012\u5f52\u6cd5<\/p>\n<\/p>\n<p><p>\u9012\u5f52\u662f\u4e00\u79cd\u5f3a\u5927\u7684\u7f16\u7a0b\u6280\u5de7\uff0c\u53ef\u4ee5\u7528\u6765\u89e3\u51b3\u8bb8\u591a\u590d\u6742\u95ee\u9898\u3002\u5224\u65ad\u56de\u6587\u6570\u540c\u6837\u53ef\u4ee5\u901a\u8fc7\u9012\u5f52\u6765\u5b9e\u73b0\u3002\u9012\u5f52\u65b9\u6cd5\u7684\u601d\u60f3\u662f\u9010\u6b65\u7f29\u77ed\u5b57\u7b26\u4e32\uff0c\u68c0\u67e5\u9996\u5c3e\u5b57\u7b26\u662f\u5426\u76f8\u540c\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u57fa\u51c6\u6761\u4ef6<\/strong>\uff1a\u5982\u679c\u5b57\u7b26\u4e32\u7684\u957f\u5ea6\u4e3a0\u62161\uff0c\u5219\u5b83\u662f\u56de\u6587\u3002<\/li>\n<li><strong>\u9012\u5f52\u68c0\u67e5<\/strong>\uff1a\u5982\u679c\u5b57\u7b26\u4e32\u7684\u9996\u5c3e\u5b57\u7b26\u76f8\u540c\uff0c\u5219\u9012\u5f52\u8c03\u7528\u53bb\u6389\u9996\u5c3e\u5b57\u7b26\u7684\u5b50\u5b57\u7b26\u4e32\u3002<\/li>\n<\/ol>\n<p><p>\u793a\u4f8b\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def is_palindrome_recursive(s):<\/p>\n<p>    if len(s) &lt;= 1:<\/p>\n<p>        return True<\/p>\n<p>    elif s[0] != s[-1]:<\/p>\n<p>        return False<\/p>\n<p>    else:<\/p>\n<p>        return is_palindrome_recursive(s[1:-1])<\/p>\n<p>number = 12321<\/p>\n<p>print(is_palindrome_recursive(str(number)))  # \u8f93\u51fa: True<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u5b9a\u4e49\u4e86\u4e00\u4e2a\u9012\u5f52\u51fd\u6570<code>is_palindrome_recursive<\/code>\uff0c\u5b83\u68c0\u67e5\u5b57\u7b26\u4e32\u7684\u9996\u5c3e\u5b57\u7b26\u662f\u5426\u76f8\u540c\uff0c\u5e76\u9012\u5f52\u5730\u68c0\u67e5\u4e2d\u95f4\u7684\u5b50\u5b57\u7b26\u4e32\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u5faa\u73af\u6cd5<\/p>\n<\/p>\n<p><p>\u5faa\u73af\u6cd5\u901a\u8fc7\u9010\u4e2a\u6bd4\u8f83\u6570\u5b57\u7684\u6bcf\u4e00\u4f4d\uff0c\u4ece\u5934\u5230\u5c3e\u548c\u4ece\u5c3e\u5230\u5934\u8fdb\u884c\u6bd4\u8f83\u3002\u4ee5\u4e0b\u662f\u5177\u4f53\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32<\/strong>\uff1a\u5c06\u6570\u5b57\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\u3002<\/li>\n<li><strong>\u4f7f\u7528\u5faa\u73af\u6bd4\u8f83<\/strong>\uff1a\u4ece\u5b57\u7b26\u4e32\u7684\u4e24\u7aef\u5411\u4e2d\u95f4\u9010\u4e2a\u6bd4\u8f83\u5b57\u7b26\u3002<\/li>\n<\/ol>\n<p><p>\u793a\u4f8b\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def is_palindrome_iterative(s):<\/p>\n<p>    left, right = 0, len(s) - 1<\/p>\n<p>    while left &lt; right:<\/p>\n<p>        if s[left] != s[right]:<\/p>\n<p>            return False<\/p>\n<p>        left += 1<\/p>\n<p>        right -= 1<\/p>\n<p>    return True<\/p>\n<p>number = 12321<\/p>\n<p>print(is_palindrome_iterative(str(number)))  # \u8f93\u51fa: True<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528\u4e86\u4e24\u4e2a\u6307\u9488<code>left<\/code>\u548c<code>right<\/code>\uff0c\u5206\u522b\u6307\u5411\u5b57\u7b26\u4e32\u7684\u5f00\u5934\u548c\u7ed3\u5c3e\u3002\u901a\u8fc7\u5faa\u73af\u9010\u6b65\u5411\u4e2d\u95f4\u79fb\u52a8\u6307\u9488\uff0c\u6bd4\u8f83\u5bf9\u5e94\u5b57\u7b26\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001\u6570\u5b66\u65b9\u6cd5<\/p>\n<\/p>\n<p><p>\u867d\u7136\u5b57\u7b26\u4e32\u65b9\u6cd5\u5f88\u76f4\u89c2\uff0c\u4f46\u6709\u65f6\u6211\u4eec\u53ef\u80fd\u5e0c\u671b\u5b8c\u5168\u4ee5\u6570\u5b66\u65b9\u5f0f\u6765\u5904\u7406\u56de\u6587\u6570\u95ee\u9898\uff0c\u800c\u4e0d\u4f9d\u8d56\u4e8e\u5b57\u7b26\u4e32\u8f6c\u6362\u3002\u8fd9\u79cd\u65b9\u6cd5\u5bf9\u7406\u89e3\u6570\u5b57\u5185\u90e8\u8fd0\u7b97\u6709\u5e2e\u52a9\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u53cd\u8f6c\u6570\u5b57<\/strong>\uff1a\u901a\u8fc7\u6570\u5b66\u8ba1\u7b97\u53cd\u8f6c\u6570\u5b57\u3002<\/li>\n<li><strong>\u6bd4\u8f83\u539f\u6570\u5b57\u4e0e\u53cd\u8f6c\u540e\u7684\u6570\u5b57<\/strong>\u3002<\/li>\n<\/ol>\n<p><p>\u793a\u4f8b\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def is_palindrome_number(x):<\/p>\n<p>    if x &lt; 0:<\/p>\n<p>        return False<\/p>\n<p>    original, reversed_num = x, 0<\/p>\n<p>    while x != 0:<\/p>\n<p>        reversed_num = reversed_num * 10 + x % 10<\/p>\n<p>        x \/\/= 10<\/p>\n<p>    return original == reversed_num<\/p>\n<p>number = 1221<\/p>\n<p>print(is_palindrome_number(number))  # \u8f93\u51fa: True<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u901a\u8fc7\u9010\u4f4d\u63d0\u53d6\u6570\u5b57\u7684\u6700\u540e\u4e00\u4f4d\uff0c\u5e76\u6784\u5efa\u53cd\u8f6c\u540e\u7684\u6570\u5b57\uff0c\u6700\u7ec8\u6bd4\u8f83\u539f\u59cb\u6570\u5b57\u548c\u53cd\u8f6c\u540e\u7684\u6570\u5b57\u3002<\/p>\n<\/p>\n<p><p>\u4e94\u3001\u5e94\u7528\u573a\u666f\u4e0e\u6ce8\u610f\u4e8b\u9879<\/p>\n<\/p>\n<ol>\n<li><strong>\u5927\u6570\u5904\u7406<\/strong>\uff1a\u4f7f\u7528\u5b57\u7b26\u4e32\u65b9\u6cd5\u53ef\u4ee5\u5904\u7406\u975e\u5e38\u5927\u7684\u6570\u5b57\uff0c\u800c\u6570\u5b66\u65b9\u6cd5\u53ef\u80fd\u4f1a\u9047\u5230\u6ea2\u51fa\u95ee\u9898\u3002<\/li>\n<li><strong>\u8d1f\u6570\u5904\u7406<\/strong>\uff1a\u8d1f\u6570\u6c38\u8fdc\u4e0d\u662f\u56de\u6587\u6570\uff0c\u56e0\u4e3a\u8d1f\u53f7\u4e0d\u5bf9\u79f0\u3002<\/li>\n<li><strong>\u65f6\u95f4\u590d\u6742\u5ea6<\/strong>\uff1a\u5b57\u7b26\u4e32\u53cd\u8f6c\u548c\u5faa\u73af\u65b9\u6cd5\u7684\u65f6\u95f4\u590d\u6742\u5ea6\u4e3aO(n)\uff0c\u5176\u4e2dn\u662f\u6570\u5b57\u7684\u957f\u5ea6\u3002\u6570\u5b66\u65b9\u6cd5\u7684\u65f6\u95f4\u590d\u6742\u5ea6\u4e5f\u4e3aO(n)\uff0c\u56e0\u4e3a\u5b83\u9010\u4f4d\u5904\u7406\u6570\u5b57\u3002<\/li>\n<li><strong>\u7a7a\u95f4\u590d\u6742\u5ea6<\/strong>\uff1a\u5b57\u7b26\u4e32\u65b9\u6cd5\u9700\u8981\u989d\u5916\u7684\u7a7a\u95f4\u6765\u5b58\u50a8\u5b57\u7b26\u4e32\uff0c\u800c\u6570\u5b66\u65b9\u6cd5\u5728\u7a7a\u95f4\u4e0a\u66f4\u9ad8\u6548\u3002<\/li>\n<\/ol>\n<p><p>\u516d\u3001\u4f18\u5316\u4e0e\u6269\u5c55<\/p>\n<\/p>\n<p><p>\u5728\u5904\u7406\u56de\u6587\u6570\u95ee\u9898\u65f6\uff0c\u6211\u4eec\u53ef\u4ee5\u9488\u5bf9\u7279\u5b9a\u573a\u666f\u8fdb\u884c\u4f18\u5316\u3002\u4f8b\u5982\uff0c\u5728\u67d0\u4e9b\u5e94\u7528\u4e2d\uff0c\u53ea\u9700\u8981\u5224\u65ad\u6570\u5b57\u7684\u4e00\u90e8\u5206\u662f\u5426\u4e3a\u56de\u6587\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u53ef\u4ee5\u901a\u8fc7\u90e8\u5206\u5b57\u7b26\u4e32\u6216\u6570\u5b57\u7684\u6bd4\u8f83\u6765\u5b9e\u73b0\u3002<\/p>\n<\/p>\n<p><p>\u603b\u7ed3<\/p>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u5224\u65ad\u4e00\u4e2a\u6570\u662f\u5426\u4e3a\u56de\u6587\u6570\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u5b9e\u73b0\uff0c\u5305\u62ec\u5b57\u7b26\u4e32\u53cd\u8f6c\u3001\u9012\u5f52\u3001\u5faa\u73af\u548c\u6570\u5b66\u65b9\u6cd5\u3002\u6bcf\u79cd\u65b9\u6cd5\u90fd\u6709\u5176\u4f18\u7f3a\u70b9\u548c\u9002\u7528\u573a\u666f\u3002\u5728\u9009\u62e9\u65b9\u6cd5\u65f6\uff0c\u5e94\u6839\u636e\u5177\u4f53\u9700\u6c42\u548c\u9650\u5236\u8fdb\u884c\u6743\u8861\u3002\u901a\u8fc7\u8fd9\u4e9b\u65b9\u6cd5\u7684\u4ecb\u7ecd\uff0c\u5e0c\u671b\u80fd\u591f\u5e2e\u52a9\u4f60\u66f4\u597d\u5730\u7406\u89e3\u548c\u5e94\u7528\u56de\u6587\u6570\u7684\u6982\u5ff5\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u56de\u6587\u6570\u662f\u4ec0\u4e48\uff0c\u5982\u4f55\u5728Python\u4e2d\u8bc6\u522b\u5b83\uff1f<\/strong><br \/>\u56de\u6587\u6570\u662f\u4e00\u79cd\u6b63\u8bfb\u548c\u53cd\u8bfb\u90fd\u76f8\u540c\u7684\u6570\u5b57\uff0c\u6bd4\u5982121\u621612321\u3002\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u5c06\u6570\u5b57\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\uff0c\u7136\u540e\u6bd4\u8f83\u5b57\u7b26\u4e32\u4e0e\u5176\u53cd\u8f6c\u7248\u672c\u662f\u5426\u76f8\u540c\u6765\u8bc6\u522b\u56de\u6587\u6570\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528<code>str(num) == str(num)[::-1]<\/code>\u6765\u5224\u65ad\u4e00\u4e2a\u6570\u5b57\u662f\u5426\u4e3a\u56de\u6587\u6570\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Python\u4e2d\u521b\u5efa\u4e00\u4e2a\u51fd\u6570\u6765\u68c0\u67e5\u56de\u6587\u6570\uff1f<\/strong><br \/>\u53ef\u4ee5\u901a\u8fc7\u5b9a\u4e49\u4e00\u4e2a\u51fd\u6570\u6765\u7b80\u5316\u56de\u6587\u6570\u7684\u68c0\u67e5\u8fc7\u7a0b\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u793a\u4f8b\uff1a  <\/p>\n<pre><code class=\"language-python\">def is_palindrome(num):\n    return str(num) == str(num)[::-1]\n<\/code><\/pre>\n<p>\u901a\u8fc7\u8c03\u7528<code>is_palindrome(121)<\/code>\uff0c\u4f60\u53ef\u4ee5\u8f7b\u677e\u5730\u68c0\u67e5121\u662f\u5426\u4e3a\u56de\u6587\u6570\uff0c\u8fd4\u56de\u503c\u4e3a<code>True<\/code>\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\uff0c\u5982\u4f55\u5904\u7406\u8d1f\u6570\u6216\u975e\u6570\u5b57\u7684\u56de\u6587\u6570\uff1f<\/strong><br \/>\u8d1f\u6570\u548c\u5305\u542b\u975e\u6570\u5b57\u5b57\u7b26\u7684\u8f93\u5165\u901a\u5e38\u4e0d\u88ab\u8ba4\u4e3a\u662f\u56de\u6587\u6570\u3002\u5728\u5904\u7406\u8fd9\u4e9b\u60c5\u51b5\u65f6\uff0c\u53ef\u4ee5\u5728\u51fd\u6570\u4e2d\u52a0\u5165\u6761\u4ef6\u5224\u65ad\uff0c\u4f8b\u5982\uff1a  <\/p>\n<pre><code class=\"language-python\">def is_palindrome(num):\n    if num &lt; 0:\n        return False\n    return str(num) == str(num)[::-1]\n<\/code><\/pre>\n<p>\u8fd9\u6837\uff0c\u8d1f\u6570\u4f1a\u88ab\u81ea\u52a8\u6392\u9664\u5728\u56de\u6587\u6570\u7684\u5224\u65ad\u4e4b\u5916\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\uff0c\u56de\u6587\u6570\u53ef\u4ee5\u901a\u8fc7\u5b57\u7b26\u4e32\u53cd\u8f6c\u3001\u9012\u5f52\u3001\u5faa\u73af\u7b49\u65b9\u6cd5\u6765\u8868\u793a\u3002\u5176\u4e2d\uff0c\u5b57\u7b26\u4e32\u53cd\u8f6c\u662f\u6700\u5e38\u89c1\u7684\u65b9\u6cd5\uff0c\u56e0\u4e3aPyt [&hellip;]","protected":false},"author":3,"featured_media":1002914,"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\/1002910"}],"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=1002910"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1002910\/revisions"}],"predecessor-version":[{"id":1002918,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1002910\/revisions\/1002918"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1002914"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1002910"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1002910"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1002910"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}