{"id":1128284,"date":"2025-01-08T20:18:52","date_gmt":"2025-01-08T12:18:52","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1128284.html"},"modified":"2025-01-08T20:18:55","modified_gmt":"2025-01-08T12:18:55","slug":"%e5%a6%82%e4%bd%95%e8%be%93%e5%87%ba%e4%b8%80%e4%b8%aa%e6%95%b0%e7%9a%84%e4%bd%8d%e6%95%b0python","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1128284.html","title":{"rendered":"\u5982\u4f55\u8f93\u51fa\u4e00\u4e2a\u6570\u7684\u4f4d\u6570python"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25095043\/06b18cb6-6af8-415c-a4d0-b53e5a7149c1.webp\" alt=\"\u5982\u4f55\u8f93\u51fa\u4e00\u4e2a\u6570\u7684\u4f4d\u6570python\" \/><\/p>\n<p><p> <strong>\u8981\u8f93\u51fa\u4e00\u4e2a\u6570\u7684\u4f4d\u6570\uff0c\u53ef\u4ee5\u4f7f\u7528Python\u4e2d\u7684\u51e0\u79cd\u65b9\u6cd5\uff1a\u5c06\u6570\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\u3001\u4f7f\u7528\u6570\u5b66\u8fd0\u7b97\u6765\u8ba1\u7b97\u4f4d\u6570\u3001\u6216\u5229\u7528logarithm\u51fd\u6570\u8fdb\u884c\u8ba1\u7b97\u3002<\/strong> \u5176\u4e2d\uff0c\u5c06\u6570\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\u662f\u6700\u7b80\u5355\u4e14\u76f4\u89c2\u7684\u65b9\u6cd5\uff0c\u800c\u4f7f\u7528\u6570\u5b66\u8fd0\u7b97\u548clogarithm\u51fd\u6570\u5219\u66f4\u9002\u5408\u5904\u7406\u8f83\u5927\u6570\u503c\u6216\u4f18\u5316\u6027\u80fd\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u51e0\u79cd\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u5b57\u7b26\u4e32\u8f6c\u6362\u6cd5<\/h3>\n<\/p>\n<p><p>\u5c06\u6570\u5b57\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\uff0c\u518d\u8ba1\u7b97\u5b57\u7b26\u4e32\u7684\u957f\u5ea6\u662f\u6700\u7b80\u5355\u7684\u65b9\u6cd5\u3002\u8fd9\u79cd\u65b9\u6cd5\u9002\u7528\u4e8e\u6240\u6709\u7c7b\u578b\u7684\u6570\u5b57\uff0c\u5305\u62ec\u6574\u6570\u548c\u6d6e\u70b9\u6570\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def count_digits_str_method(number):<\/p>\n<p>    return len(str(number))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4f8b\u5982\uff0c\u5bf9\u4e8e <code>12345<\/code>\uff0c\u4f7f\u7528 <code>str(12345)<\/code> \u4f1a\u5f97\u5230 <code>&#39;12345&#39;<\/code>\uff0c\u7136\u540e\u8ba1\u7b97\u5176\u957f\u5ea6\u5373\u4e3a5\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u6570\u5b66\u8fd0\u7b97\u6cd5<\/h3>\n<\/p>\n<p><p>\u53e6\u4e00\u79cd\u65b9\u6cd5\u662f\u4f7f\u7528\u6570\u5b66\u8fd0\u7b97\u6765\u8ba1\u7b97\u6570\u5b57\u7684\u4f4d\u6570\u3002\u8fd9\u79cd\u65b9\u6cd5\u901a\u5e38\u9002\u7528\u4e8e\u6574\u6570\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def count_digits_math_method(number):<\/p>\n<p>    count = 0<\/p>\n<p>    while number &gt; 0:<\/p>\n<p>        number \/\/= 10<\/p>\n<p>        count += 1<\/p>\n<p>    return count<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u6bb5\u4ee3\u7801\u901a\u8fc7\u4e0d\u65ad\u5c06\u6570\u5b57\u9664\u4ee510\u5e76\u8ba1\u6570\uff0c\u76f4\u5230\u6570\u5b57\u53d8\u4e3a0\u3002\u5bf9\u4e8e\u8f83\u5927\u7684\u6570\u5b57\uff0c\u8fd9\u79cd\u65b9\u6cd5\u53ef\u80fd\u4f1a\u6bd4\u5b57\u7b26\u4e32\u8f6c\u6362\u6cd5\u66f4\u9ad8\u6548\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528\u5bf9\u6570\u51fd\u6570<\/h3>\n<\/p>\n<p><p>\u4f7f\u7528\u5bf9\u6570\u51fd\u6570\u662f\u4e00\u79cd\u66f4\u9ad8\u6548\u7684\u65b9\u5f0f\uff0c\u5c24\u5176\u9002\u7528\u4e8e\u5904\u7406\u975e\u5e38\u5927\u7684\u6570\u5b57\u3002\u901a\u8fc7\u5bf9\u6570\u51fd\u6570\uff0c\u8ba1\u7b97\u4f4d\u6570\u53ef\u4ee5\u5728\u5e38\u6570\u65f6\u95f4\u5185\u5b8c\u6210\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import math<\/p>\n<p>def count_digits_log_method(number):<\/p>\n<p>    if number &gt; 0:<\/p>\n<p>        return math.floor(math.log10(number)) + 1<\/p>\n<p>    elif number == 0:<\/p>\n<p>        return 1<\/p>\n<p>    else:<\/p>\n<p>        return math.floor(math.log10(-number)) + 1<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u6bb5\u4ee3\u7801\u9996\u5148\u5224\u65ad\u6570\u5b57\u662f\u5426\u4e3a\u6b63\u6570\u3001\u8d1f\u6570\u6216\u96f6\uff0c\u7136\u540e\u4f7f\u7528\u5bf9\u6570\u51fd\u6570\u8ba1\u7b97\u4f4d\u6570\u3002\u5bf9\u4e8e\u96f6\uff0c\u76f4\u63a5\u8fd4\u56de1\uff0c\u56e0\u4e3a\u96f6\u53ea\u6709\u4e00\u4f4d\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u5904\u7406\u8d1f\u6570\u548c\u6d6e\u70b9\u6570<\/h3>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u6211\u4eec\u7ecf\u5e38\u9700\u8981\u5904\u7406\u8d1f\u6570\u548c\u6d6e\u70b9\u6570\u3002\u4e0a\u8ff0\u65b9\u6cd5\u53ef\u4ee5\u7a0d\u52a0\u4fee\u6539\u4ee5\u9002\u5e94\u8fd9\u4e9b\u60c5\u51b5\u3002<\/p>\n<\/p>\n<p><h4>1\u3001\u5904\u7406\u8d1f\u6570<\/h4>\n<\/p>\n<p><p>\u8d1f\u6570\u7684\u4f4d\u6570\u4e0e\u5176\u7edd\u5bf9\u503c\u7684\u4f4d\u6570\u76f8\u540c\uff0c\u56e0\u6b64\u6211\u4eec\u53ef\u4ee5\u5148\u53d6\u7edd\u5bf9\u503c\u518d\u8ba1\u7b97\u4f4d\u6570\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def count_digits_negative(number):<\/p>\n<p>    return count_digits_str_method(abs(number))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u5904\u7406\u6d6e\u70b9\u6570<\/h4>\n<\/p>\n<p><p>\u5bf9\u4e8e\u6d6e\u70b9\u6570\uff0c\u6211\u4eec\u53ef\u4ee5\u5148\u5c06\u5176\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\uff0c\u5e76\u53bb\u9664\u5c0f\u6570\u70b9\u540e\u518d\u8ba1\u7b97\u957f\u5ea6\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def count_digits_float(number):<\/p>\n<p>    str_number = str(number).replace(&#39;.&#39;, &#39;&#39;)<\/p>\n<p>    return len(str_number)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e94\u3001\u7efc\u5408\u5e94\u7528<\/h3>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5f00\u53d1\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u7efc\u5408\u4ee5\u4e0a\u65b9\u6cd5\uff0c\u5904\u7406\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u5b57\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7efc\u5408\u793a\u4f8b\u51fd\u6570\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def count_digits(number):<\/p>\n<p>    if isinstance(number, int):<\/p>\n<p>        return count_digits_math_method(number)<\/p>\n<p>    elif isinstance(number, float):<\/p>\n<p>        return count_digits_float(number)<\/p>\n<p>    else:<\/p>\n<p>        r<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>se ValueError(&quot;Input must be an integer or float&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4e2a\u7efc\u5408\u51fd\u6570\u6839\u636e\u8f93\u5165\u7c7b\u578b\u9009\u62e9\u9002\u5f53\u7684\u65b9\u6cd5\u6765\u8ba1\u7b97\u4f4d\u6570\u3002<\/p>\n<\/p>\n<p><h3>\u516d\u3001\u6027\u80fd\u6bd4\u8f83<\/h3>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u4e0d\u4ec5\u8981\u8003\u8651\u5176\u6613\u7528\u6027\uff0c\u8fd8\u8981\u8003\u8651\u6027\u80fd\u3002\u4ee5\u4e0b\u662f\u4e0d\u540c\u65b9\u6cd5\u7684\u6027\u80fd\u6bd4\u8f83\uff1a<\/p>\n<\/p>\n<p><h4>1\u3001\u5b57\u7b26\u4e32\u8f6c\u6362\u6cd5<\/h4>\n<\/p>\n<p><p>\u5b57\u7b26\u4e32\u8f6c\u6362\u6cd5\u867d\u7136\u7b80\u5355\u6613\u7528\uff0c\u4f46\u5bf9\u5927\u6570\u503c\u7684\u5904\u7406\u6027\u80fd\u4e0d\u5982\u6570\u5b66\u8fd0\u7b97\u6cd5\u548c\u5bf9\u6570\u51fd\u6570\u6cd5\u3002<\/p>\n<\/p>\n<p><h4>2\u3001\u6570\u5b66\u8fd0\u7b97\u6cd5<\/h4>\n<\/p>\n<p><p>\u6570\u5b66\u8fd0\u7b97\u6cd5\u9002\u7528\u4e8e\u5904\u7406\u6574\u6570\uff0c\u6027\u80fd\u8f83\u597d\uff0c\u4f46\u5bf9\u4e8e\u975e\u5e38\u5927\u7684\u6570\u503c\uff0c\u6027\u80fd\u53ef\u80fd\u4f1a\u6709\u6240\u4e0b\u964d\u3002<\/p>\n<\/p>\n<p><h4>3\u3001\u5bf9\u6570\u51fd\u6570\u6cd5<\/h4>\n<\/p>\n<p><p>\u5bf9\u6570\u51fd\u6570\u6cd5\u5728\u5904\u7406\u5927\u6570\u503c\u65f6\u6027\u80fd\u6700\u4f73\uff0c\u4f46\u9700\u8981\u5904\u7406\u96f6\u548c\u8d1f\u6570\u7684\u7279\u6b8a\u60c5\u51b5\u3002<\/p>\n<\/p>\n<p><h3>\u4e03\u3001\u5b9e\u9645\u5e94\u7528\u6848\u4f8b<\/h3>\n<\/p>\n<p><h4>1\u3001\u5904\u7406\u7528\u6237\u8f93\u5165<\/h4>\n<\/p>\n<p><p>\u5728\u5904\u7406\u7528\u6237\u8f93\u5165\u65f6\uff0c\u6211\u4eec\u7ecf\u5e38\u9700\u8981\u5224\u65ad\u8f93\u5165\u7684\u6570\u5b57\u662f\u5426\u7b26\u5408\u67d0\u4e9b\u4f4d\u6570\u8981\u6c42\u3002\u4f8b\u5982\uff0c\u5728\u9a8c\u8bc1\u4fe1\u7528\u5361\u53f7\u6216\u7535\u8bdd\u53f7\u7801\u65f6\uff0c\u901a\u5e38\u9700\u8981\u68c0\u67e5\u5176\u4f4d\u6570\u662f\u5426\u6b63\u786e\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def validate_input(number):<\/p>\n<p>    if count_digits(number) != 10:<\/p>\n<p>        return False<\/p>\n<p>    return True<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u5927\u6570\u636e\u5904\u7406<\/h4>\n<\/p>\n<p><p>\u5728\u5927\u6570\u636e\u5904\u7406\u548c\u5206\u6790\u4e2d\uff0c\u6211\u4eec\u5e38\u5e38\u9700\u8981\u5904\u7406\u975e\u5e38\u5927\u7684\u6570\u503c\u3002\u6b64\u65f6\uff0c\u9009\u62e9\u5408\u9002\u7684\u4f4d\u6570\u8ba1\u7b97\u65b9\u6cd5\u5bf9\u4e8e\u6027\u80fd\u4f18\u5316\u81f3\u5173\u91cd\u8981\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def process_large_numbers(numbers):<\/p>\n<p>    for number in numbers:<\/p>\n<p>        digits = count_digits(number)<\/p>\n<p>        print(f&quot;Number: {number}, Digits: {digits}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u516b\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p><strong>\u603b\u7ed3\u6765\u8bf4\uff0c\u8f93\u51fa\u4e00\u4e2a\u6570\u7684\u4f4d\u6570\u53ef\u4ee5\u901a\u8fc7\u5b57\u7b26\u4e32\u8f6c\u6362\u6cd5\u3001\u6570\u5b66\u8fd0\u7b97\u6cd5\u548c\u5bf9\u6570\u51fd\u6570\u6cd5\u6765\u5b9e\u73b0\u3002<\/strong> \u5b57\u7b26\u4e32\u8f6c\u6362\u6cd5\u7b80\u5355\u76f4\u89c2\u3001\u9002\u7528\u4e8e\u6240\u6709\u7c7b\u578b\u7684\u6570\u5b57\uff1b\u6570\u5b66\u8fd0\u7b97\u6cd5\u9002\u7528\u4e8e\u6574\u6570\u3001\u5728\u5904\u7406\u8f83\u5927\u6570\u503c\u65f6\u6027\u80fd\u8f83\u597d\uff1b\u5bf9\u6570\u51fd\u6570\u6cd5\u6027\u80fd\u6700\u4f73\uff0c\u4f46\u9700\u8981\u5904\u7406\u96f6\u548c\u8d1f\u6570\u7684\u7279\u6b8a\u60c5\u51b5\u3002\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u4e0d\u4ec5\u8981\u8003\u8651\u5176\u6613\u7528\u6027\uff0c\u8fd8\u8981\u8003\u8651\u6027\u80fd\u548c\u5177\u4f53\u5e94\u7528\u573a\u666f\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u8ba1\u7b97\u4e00\u4e2a\u6570\u7684\u4f4d\u6570\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u5b57\u7b26\u4e32\u8f6c\u6362\u6765\u8ba1\u7b97\u4e00\u4e2a\u6570\u7684\u4f4d\u6570\u3002\u53ef\u4ee5\u5c06\u6570\u5b57\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\uff0c\u7136\u540e\u4f7f\u7528<code>len()<\/code>\u51fd\u6570\u83b7\u53d6\u5b57\u7b26\u4e32\u7684\u957f\u5ea6\u3002\u4f8b\u5982\uff1a  <\/p>\n<pre><code class=\"language-python\">number = 12345\ndigit_count = len(str(number))\nprint(digit_count)  # \u8f93\u51fa\uff1a5\n<\/code><\/pre>\n<p>\u8fd9\u79cd\u65b9\u6cd5\u9002\u7528\u4e8e\u6b63\u6574\u6570\u548c\u8d1f\u6574\u6570\uff0c\u4f46\u9700\u8981\u6ce8\u610f\u5904\u7406\u5c0f\u6570\u548c\u79d1\u5b66\u8ba1\u6570\u6cd5\u3002<\/p>\n<p><strong>\u6709\u6ca1\u6709\u5176\u4ed6\u65b9\u6cd5\u53ef\u4ee5\u8ba1\u7b97\u6570\u5b57\u7684\u4f4d\u6570\uff1f<\/strong><br \/>\u9664\u4e86\u5b57\u7b26\u4e32\u8f6c\u6362\uff0c\u53e6\u4e00\u79cd\u65b9\u6cd5\u662f\u4f7f\u7528\u6570\u5b66\u8fd0\u7b97\u3002\u5bf9\u4e8e\u6b63\u6574\u6570\uff0c\u53ef\u4ee5\u901a\u8fc7\u5faa\u73af\u4e0d\u65ad\u9664\u4ee510\u6765\u8ba1\u7b97\u4f4d\u6570\u3002\u793a\u4f8b\u4ee3\u7801\u5982\u4e0b\uff1a  <\/p>\n<pre><code class=\"language-python\">number = 12345\ncount = 0\nwhile number &gt; 0:\n    number \/\/= 10\n    count += 1\nprint(count)  # \u8f93\u51fa\uff1a5\n<\/code><\/pre>\n<p>\u8fd9\u79cd\u65b9\u6cd5\u4e5f\u53ef\u4ee5\u5e94\u7528\u4e8e\u6c42\u8d1f\u6570\u7684\u4f4d\u6570\uff0c\u53ea\u9700\u53d6\u5176\u7edd\u5bf9\u503c\u3002<\/p>\n<p><strong>\u5982\u4f55\u5904\u7406\u5c0f\u6570\u548c\u8d1f\u6570\u7684\u4f4d\u6570\u8ba1\u7b97\uff1f<\/strong><br \/>\u5728\u8ba1\u7b97\u5c0f\u6570\u7684\u4f4d\u6570\u65f6\uff0c\u53ef\u4ee5\u5148\u5c06\u5176\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\uff0c\u7136\u540e\u53bb\u9664\u5c0f\u6570\u70b9\uff0c\u8ba1\u7b97\u5269\u4f59\u5b57\u7b26\u7684\u957f\u5ea6\u3002\u5bf9\u4e8e\u8d1f\u6570\uff0c\u53ef\u4ee5\u5728\u8ba1\u7b97\u4e4b\u524d\u53d6\u5176\u7edd\u5bf9\u503c\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\uff1a  <\/p>\n<pre><code class=\"language-python\">number = -123.45\ndigit_count = len(str(abs(number)).replace(&#39;.&#39;, &#39;&#39;))  # \u53bb\u6389\u5c0f\u6570\u70b9\nprint(digit_count)  # \u8f93\u51fa\uff1a5\n<\/code><\/pre>\n<p>\u6b64\u4ee3\u7801\u5c06\u6b63\u786e\u5904\u7406\u8d1f\u6570\u548c\u5c0f\u6570\u60c5\u51b5\uff0c\u786e\u4fdd\u8ba1\u7b97\u7684\u51c6\u786e\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u8f93\u51fa\u4e00\u4e2a\u6570\u7684\u4f4d\u6570\uff0c\u53ef\u4ee5\u4f7f\u7528Python\u4e2d\u7684\u51e0\u79cd\u65b9\u6cd5\uff1a\u5c06\u6570\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\u3001\u4f7f\u7528\u6570\u5b66\u8fd0\u7b97\u6765\u8ba1\u7b97\u4f4d\u6570\u3001\u6216\u5229\u7528loga [&hellip;]","protected":false},"author":3,"featured_media":1128292,"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\/1128284"}],"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=1128284"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1128284\/revisions"}],"predecessor-version":[{"id":1128294,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1128284\/revisions\/1128294"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1128292"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1128284"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1128284"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1128284"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}