{"id":1101079,"date":"2025-01-08T15:45:57","date_gmt":"2025-01-08T07:45:57","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1101079.html"},"modified":"2025-01-08T15:46:00","modified_gmt":"2025-01-08T07:46:00","slug":"python%e5%a6%82%e4%bd%95%e5%b0%86%e8%be%93%e5%85%a5%e7%9a%84%e6%95%b0%e5%ad%97%e9%80%86%e5%ba%8f-2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1101079.html","title":{"rendered":"Python\u5982\u4f55\u5c06\u8f93\u5165\u7684\u6570\u5b57\u9006\u5e8f"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25064029\/81cb8426-1baf-400a-85b5-3750e7024efa.webp\" alt=\"Python\u5982\u4f55\u5c06\u8f93\u5165\u7684\u6570\u5b57\u9006\u5e8f\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u5c06\u8f93\u5165\u7684\u6570\u5b57\u9006\u5e8f\uff0c\u4f8b\u5982\u4f7f\u7528\u5b57\u7b26\u4e32\u64cd\u4f5c\u3001\u6570\u5b66\u65b9\u6cd5\u3001\u9012\u5f52\u7b49\u3002\u6700\u5e38\u89c1\u4e14\u7b80\u5355\u7684\u65b9\u6cd5\u662f\u4f7f\u7528\u5b57\u7b26\u4e32\u64cd\u4f5c\uff0c\u5c06\u6570\u5b57\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\u3001\u53cd\u8f6c\u5b57\u7b26\u4e32\u3001\u518d\u8f6c\u6362\u56de\u6570\u5b57\u3002<\/strong>\u4e0b\u9762\u5c06\u8be6\u7ec6\u63cf\u8ff0\u8fd9\u79cd\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u5b57\u7b26\u4e32\u64cd\u4f5c\u6cd5<\/h3>\n<\/p>\n<p><p>\u5b57\u7b26\u4e32\u64cd\u4f5c\u6cd5\u662f\u5c06\u6570\u5b57\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\uff0c\u5229\u7528\u5b57\u7b26\u4e32\u7684\u5207\u7247\u529f\u80fd\u8fdb\u884c\u53cd\u8f6c\uff0c\u6700\u540e\u518d\u8f6c\u6362\u56de\u6574\u6570\u3002\u8fd9\u79cd\u65b9\u6cd5\u7b80\u5355\u660e\u4e86\uff0c\u9002\u5408\u5927\u591a\u6570\u60c5\u51b5\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def reverse_number(n):<\/p>\n<p>    reversed_str = str(n)[::-1]<\/p>\n<p>    return int(reversed_str)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u8be6\u7ec6\u89e3\u91ca\uff1a<\/h4>\n<\/p>\n<ol>\n<li><strong>\u5c06\u6570\u5b57\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32<\/strong>\uff1a\u4f7f\u7528 <code>str()<\/code> \u51fd\u6570\u5c06\u6570\u5b57 <code>n<\/code> \u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\u3002<\/li>\n<li><strong>\u5b57\u7b26\u4e32\u53cd\u8f6c<\/strong>\uff1a\u5229\u7528\u5207\u7247 <code>[::-1]<\/code> \u5c06\u5b57\u7b26\u4e32\u8fdb\u884c\u53cd\u8f6c\u3002<\/li>\n<li><strong>\u8f6c\u6362\u56de\u6574\u6570<\/strong>\uff1a\u4f7f\u7528 <code>int()<\/code> \u51fd\u6570\u5c06\u53cd\u8f6c\u540e\u7684\u5b57\u7b26\u4e32\u8f6c\u6362\u56de\u6574\u6570\u3002<\/li>\n<\/ol>\n<p><h3>\u4e8c\u3001\u6570\u5b66\u65b9\u6cd5<\/h3>\n<\/p>\n<p><p>\u6570\u5b66\u65b9\u6cd5\u662f\u901a\u8fc7\u6570\u5b66\u8fd0\u7b97\u6765\u53cd\u8f6c\u6570\u5b57\uff0c\u4e0d\u6d89\u53ca\u5b57\u7b26\u4e32\u64cd\u4f5c\u3002\u8fd9\u79cd\u65b9\u6cd5\u5bf9\u7406\u89e3\u6570\u5b57\u7684\u4f4d\u64cd\u4f5c\u6709\u5e2e\u52a9\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def reverse_number_math(n):<\/p>\n<p>    reversed_num = 0<\/p>\n<p>    while n &gt; 0:<\/p>\n<p>        digit = n % 10<\/p>\n<p>        reversed_num = reversed_num * 10 + digit<\/p>\n<p>        n \/\/= 10<\/p>\n<p>    return reversed_num<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u8be6\u7ec6\u89e3\u91ca\uff1a<\/h4>\n<\/p>\n<ol>\n<li><strong>\u521d\u59cb\u5316\u53cd\u8f6c\u540e\u7684\u6570\u5b57<\/strong>\uff1a\u5b9a\u4e49\u53d8\u91cf <code>reversed_num<\/code> \u4e3a 0\uff0c\u7528\u4e8e\u5b58\u50a8\u53cd\u8f6c\u540e\u7684\u6570\u5b57\u3002<\/li>\n<li><strong>\u63d0\u53d6\u6700\u540e\u4e00\u4f4d\u6570\u5b57<\/strong>\uff1a\u901a\u8fc7 <code>n % 10<\/code> \u63d0\u53d6 <code>n<\/code> \u7684\u6700\u540e\u4e00\u4f4d\u6570\u5b57\u3002<\/li>\n<li><strong>\u6784\u5efa\u53cd\u8f6c\u540e\u7684\u6570\u5b57<\/strong>\uff1a\u5c06 <code>reversed_num<\/code> \u4e58\u4ee5 10\uff0c\u52a0\u4e0a\u63d0\u53d6\u7684\u6570\u5b57 <code>digit<\/code>\uff0c\u6784\u5efa\u65b0\u7684 <code>reversed_num<\/code>\u3002<\/li>\n<li><strong>\u53bb\u6389\u6700\u540e\u4e00\u4f4d\u6570\u5b57<\/strong>\uff1a\u901a\u8fc7 <code>n \/\/= 10<\/code> \u79fb\u9664 <code>n<\/code> \u7684\u6700\u540e\u4e00\u4f4d\u6570\u5b57\u3002<\/li>\n<li><strong>\u5faa\u73af<\/strong>\uff1a\u91cd\u590d\u4ee5\u4e0a\u6b65\u9aa4\u76f4\u5230 <code>n<\/code> \u53d8\u4e3a 0\u3002<\/li>\n<\/ol>\n<p><h3>\u4e09\u3001\u9012\u5f52\u65b9\u6cd5<\/h3>\n<\/p>\n<p><p>\u9012\u5f52\u65b9\u6cd5\u901a\u8fc7\u51fd\u6570\u81ea\u8eab\u8c03\u7528\u6765\u5b9e\u73b0\u53cd\u8f6c\u6570\u5b57\u3002\u8fd9\u79cd\u65b9\u6cd5\u66f4\u5177\u6311\u6218\u6027\uff0c\u9002\u5408\u8fdb\u9636\u5b66\u4e60\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def reverse_number_recursive(n, reversed_num=0):<\/p>\n<p>    if n == 0:<\/p>\n<p>        return reversed_num<\/p>\n<p>    else:<\/p>\n<p>        digit = n % 10<\/p>\n<p>        reversed_num = reversed_num * 10 + digit<\/p>\n<p>        return reverse_number_recursive(n \/\/ 10, reversed_num)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u8be6\u7ec6\u89e3\u91ca\uff1a<\/h4>\n<\/p>\n<ol>\n<li><strong>\u9012\u5f52\u7ec8\u6b62\u6761\u4ef6<\/strong>\uff1a\u5982\u679c <code>n<\/code> \u4e3a 0\uff0c\u8fd4\u56de <code>reversed_num<\/code>\u3002<\/li>\n<li><strong>\u63d0\u53d6\u6700\u540e\u4e00\u4f4d\u6570\u5b57<\/strong>\uff1a\u901a\u8fc7 <code>n % 10<\/code> \u63d0\u53d6 <code>n<\/code> \u7684\u6700\u540e\u4e00\u4f4d\u6570\u5b57\u3002<\/li>\n<li><strong>\u6784\u5efa\u53cd\u8f6c\u540e\u7684\u6570\u5b57<\/strong>\uff1a\u5c06 <code>reversed_num<\/code> \u4e58\u4ee5 10\uff0c\u52a0\u4e0a\u63d0\u53d6\u7684\u6570\u5b57 <code>digit<\/code>\uff0c\u6784\u5efa\u65b0\u7684 <code>reversed_num<\/code>\u3002<\/li>\n<li><strong>\u9012\u5f52\u8c03\u7528<\/strong>\uff1a\u8c03\u7528 <code>reverse_number_recursive(n \/\/ 10, reversed_num)<\/code> \u7ee7\u7eed\u5904\u7406\u5269\u4f59\u6570\u5b57\u3002<\/li>\n<\/ol>\n<p><h3>\u56db\u3001\u4f7f\u7528\u5185\u7f6e\u51fd\u6570<\/h3>\n<\/p>\n<p><p>Python \u8fd8\u63d0\u4f9b\u4e86\u4e00\u4e9b\u5185\u7f6e\u51fd\u6570\uff0c\u53ef\u4ee5\u7b80\u5316\u4ee3\u7801\u3002\u867d\u7136\u4e0d\u76f4\u63a5\u53cd\u8f6c\u6570\u5b57\uff0c\u4f46\u53ef\u4ee5\u7528\u6765\u5904\u7406\u7c7b\u4f3c\u4efb\u52a1\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def reverse_number_builtin(n):<\/p>\n<p>    reversed_str = &#39;&#39;.join(reversed(str(n)))<\/p>\n<p>    return int(reversed_str)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u8be6\u7ec6\u89e3\u91ca\uff1a<\/h4>\n<\/p>\n<ol>\n<li><strong>\u5c06\u6570\u5b57\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32<\/strong>\uff1a\u4f7f\u7528 <code>str()<\/code> \u51fd\u6570\u5c06\u6570\u5b57 <code>n<\/code> \u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\u3002<\/li>\n<li><strong>\u53cd\u8f6c\u5b57\u7b26\u4e32<\/strong>\uff1a\u4f7f\u7528 <code>reversed()<\/code> \u51fd\u6570\u8fd4\u56de\u53cd\u8f6c\u7684\u5b57\u7b26\u4e32\u8fed\u4ee3\u5668\uff0c\u7136\u540e\u7528 <code>join()<\/code> \u5408\u5e76\u6210\u65b0\u7684\u5b57\u7b26\u4e32\u3002<\/li>\n<li><strong>\u8f6c\u6362\u56de\u6574\u6570<\/strong>\uff1a\u4f7f\u7528 <code>int()<\/code> \u51fd\u6570\u5c06\u53cd\u8f6c\u540e\u7684\u5b57\u7b26\u4e32\u8f6c\u6362\u56de\u6574\u6570\u3002<\/li>\n<\/ol>\n<p><h3>\u4e94\u3001\u9519\u8bef\u5904\u7406<\/h3>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u8f93\u5165\u7684\u6570\u5b57\u53ef\u80fd\u5305\u542b\u8d1f\u53f7\uff0c\u751a\u81f3\u5c0f\u6570\u70b9\u3002\u9700\u8981\u8fdb\u884c\u9519\u8bef\u5904\u7406\u4ee5\u786e\u4fdd\u51fd\u6570\u80fd\u591f\u6b63\u786e\u5904\u7406\u8fd9\u4e9b\u7279\u6b8a\u60c5\u51b5\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def reverse_number_with_error_handling(n):<\/p>\n<p>    try:<\/p>\n<p>        if n &lt; 0:<\/p>\n<p>            return -reverse_number(-n)<\/p>\n<p>        return reverse_number(n)<\/p>\n<p>    except ValueError:<\/p>\n<p>        print(&quot;Invalid input, please enter a valid integer.&quot;)<\/p>\n<p>        return None<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u8be6\u7ec6\u89e3\u91ca\uff1a<\/h4>\n<\/p>\n<ol>\n<li><strong>\u5904\u7406\u8d1f\u6570<\/strong>\uff1a\u5982\u679c\u8f93\u5165\u6570\u5b57 <code>n<\/code> \u4e3a\u8d1f\u6570\uff0c\u5148\u5c06\u5176\u53d8\u4e3a\u6b63\u6570\u8fdb\u884c\u5904\u7406\uff0c\u7136\u540e\u518d\u52a0\u4e0a\u8d1f\u53f7\u3002<\/li>\n<li><strong>\u5f02\u5e38\u5904\u7406<\/strong>\uff1a\u4f7f\u7528 <code>try-except<\/code> \u7ed3\u6784\u6355\u83b7 <code>ValueError<\/code> \u5f02\u5e38\uff0c\u63d0\u793a\u7528\u6237\u8f93\u5165\u65e0\u6548\uff0c\u5e76\u8fd4\u56de <code>None<\/code>\u3002<\/li>\n<\/ol>\n<p><h3>\u516d\u3001\u7efc\u5408\u5e94\u7528<\/h3>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u53ef\u80fd\u9700\u8981\u7efc\u5408\u591a\u79cd\u65b9\u6cd5\uff0c\u7f16\u5199\u4e00\u4e2a\u901a\u7528\u51fd\u6570\u6765\u5904\u7406\u5404\u79cd\u60c5\u51b5\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def reverse_number_comprehensive(n):<\/p>\n<p>    if isinstance(n, int):<\/p>\n<p>        return reverse_number_math(n)<\/p>\n<p>    elif isinstance(n, float):<\/p>\n<p>        integer_part, decimal_part = str(n).split(&#39;.&#39;)<\/p>\n<p>        reversed_integer = reverse_number(int(integer_part))<\/p>\n<p>        reversed_decimal = reverse_number(int(decimal_part))<\/p>\n<p>        return float(f&quot;{reversed_integer}.{reversed_decimal}&quot;)<\/p>\n<p>    else:<\/p>\n<p>        print(&quot;Invalid input, please enter a valid number.&quot;)<\/p>\n<p>        return None<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u8be6\u7ec6\u89e3\u91ca\uff1a<\/h4>\n<\/p>\n<ol>\n<li><strong>\u5904\u7406\u6574\u6570<\/strong>\uff1a\u5982\u679c\u8f93\u5165 <code>n<\/code> \u662f\u6574\u6570\uff0c\u4f7f\u7528\u6570\u5b66\u65b9\u6cd5\u8fdb\u884c\u53cd\u8f6c\u3002<\/li>\n<li><strong>\u5904\u7406\u6d6e\u70b9\u6570<\/strong>\uff1a\u5982\u679c\u8f93\u5165 <code>n<\/code> \u662f\u6d6e\u70b9\u6570\uff0c\u5148\u5206\u79bb\u6574\u6570\u90e8\u5206\u548c\u5c0f\u6570\u90e8\u5206\uff0c\u5206\u522b\u8fdb\u884c\u53cd\u8f6c\uff0c\u518d\u5408\u5e76\u6210\u65b0\u7684\u6d6e\u70b9\u6570\u3002<\/li>\n<li><strong>\u5f02\u5e38\u5904\u7406<\/strong>\uff1a\u5982\u679c\u8f93\u5165 <code>n<\/code> \u65e2\u4e0d\u662f\u6574\u6570\u4e5f\u4e0d\u662f\u6d6e\u70b9\u6570\uff0c\u63d0\u793a\u7528\u6237\u8f93\u5165\u65e0\u6548\uff0c\u5e76\u8fd4\u56de <code>None<\/code>\u3002<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u4e0a\u8ff0\u51e0\u79cd\u65b9\u6cd5\uff0c\u6211\u4eec\u53ef\u4ee5\u7075\u6d3b\u5730\u5728Python\u4e2d\u5c06\u8f93\u5165\u7684\u6570\u5b57\u9006\u5e8f\u3002\u6bcf\u79cd\u65b9\u6cd5\u90fd\u6709\u5176\u9002\u7528\u7684\u573a\u666f\u548c\u4f18\u7f3a\u70b9\uff0c\u9009\u62e9\u9002\u5408\u81ea\u5df1\u9700\u6c42\u7684\u65b9\u6cd5\uff0c\u80fd\u66f4\u9ad8\u6548\u5730\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u5b9e\u73b0\u6570\u5b57\u9006\u5e8f\u7684\u529f\u80fd\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u5c06\u8f93\u5165\u7684\u6570\u5b57\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\uff0c\u4f7f\u7528\u5207\u7247\u64cd\u4f5c\u6765\u5b9e\u73b0\u9006\u5e8f\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u4ee3\u7801\uff1a  <\/p>\n<pre><code class=\"language-python\">num = input(&quot;\u8bf7\u8f93\u5165\u4e00\u4e2a\u6570\u5b57\uff1a&quot;)\nreversed_num = num[::-1]\nprint(&quot;\u9006\u5e8f\u540e\u7684\u6570\u5b57\u662f\uff1a&quot;, reversed_num)\n<\/code><\/pre>\n<p>\u8fd9\u6bb5\u4ee3\u7801\u9996\u5148\u83b7\u53d6\u7528\u6237\u8f93\u5165\u7684\u6570\u5b57\uff0c\u5c06\u5176\u9006\u5e8f\u540e\u518d\u8f93\u51fa\u3002<\/p>\n<p><strong>\u4f7f\u7528Python\u9006\u5e8f\u6570\u5b57\u65f6\u9700\u8981\u6ce8\u610f\u4ec0\u4e48\uff1f<\/strong><br \/>\u5728\u9006\u5e8f\u6570\u5b57\u65f6\uff0c\u786e\u4fdd\u7528\u6237\u8f93\u5165\u7684\u662f\u6709\u6548\u7684\u6570\u5b57\uff0c\u907f\u514d\u51fa\u73b0\u5f02\u5e38\u60c5\u51b5\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528<code>try-except<\/code>\u8bed\u53e5\u6355\u83b7\u53ef\u80fd\u7684\u9519\u8bef\u3002\u5982\u679c\u8f93\u5165\u975e\u6570\u5b57\u5b57\u7b26\uff0c\u7a0b\u5e8f\u5e94\u80fd\u53cb\u597d\u5730\u63d0\u793a\u7528\u6237\u91cd\u65b0\u8f93\u5165\u3002<\/p>\n<p><strong>\u662f\u5426\u53ef\u4ee5\u901a\u8fc7\u51fd\u6570\u6765\u5b9e\u73b0\u6570\u5b57\u9006\u5e8f\uff1f<\/strong><br \/>\u5f53\u7136\u53ef\u4ee5\uff01\u5b9a\u4e49\u4e00\u4e2a\u51fd\u6570\u53ef\u4ee5\u4f7f\u4ee3\u7801\u66f4\u5177\u53ef\u91cd\u7528\u6027\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u51fd\u6570\u793a\u4f8b\uff1a  <\/p>\n<pre><code class=\"language-python\">def reverse_number(num):\n    return num[::-1]\n\ninput_num = input(&quot;\u8bf7\u8f93\u5165\u4e00\u4e2a\u6570\u5b57\uff1a&quot;)\nprint(&quot;\u9006\u5e8f\u540e\u7684\u6570\u5b57\u662f\uff1a&quot;, reverse_number(input_num))\n<\/code><\/pre>\n<p>\u8fd9\u4e2a\u51fd\u6570\u5c06\u8f93\u5165\u7684\u6570\u5b57\u9006\u5e8f\u5e76\u8fd4\u56de\uff0c\u4fbf\u4e8e\u5728\u5176\u4ed6\u5730\u65b9\u8c03\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u5c06\u8f93\u5165\u7684\u6570\u5b57\u9006\u5e8f\uff0c\u4f8b\u5982\u4f7f\u7528\u5b57\u7b26\u4e32\u64cd\u4f5c\u3001\u6570\u5b66\u65b9\u6cd5\u3001\u9012\u5f52\u7b49\u3002\u6700\u5e38\u89c1\u4e14\u7b80\u5355\u7684\u65b9\u6cd5\u662f [&hellip;]","protected":false},"author":3,"featured_media":1101087,"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\/1101079"}],"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=1101079"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1101079\/revisions"}],"predecessor-version":[{"id":1101090,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1101079\/revisions\/1101090"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1101087"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1101079"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1101079"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1101079"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}