{"id":1003463,"date":"2024-12-27T10:17:30","date_gmt":"2024-12-27T02:17:30","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1003463.html"},"modified":"2024-12-27T10:17:32","modified_gmt":"2024-12-27T02:17:32","slug":"python%e4%b8%ad%e5%a6%82%e4%bd%95%e5%8f%96%e4%bd%99%e6%95%b0","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1003463.html","title":{"rendered":"python\u4e2d%\u5982\u4f55\u53d6\u4f59\u6570"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25080812\/f1515055-0a3b-458f-8746-ee72ebba75d6.webp\" alt=\"python\u4e2d%\u5982\u4f55\u53d6\u4f59\u6570\" \/><\/p>\n<p><p> \u5728Python\u4e2d\uff0c<strong>\u767e\u5206\u53f7\u7b26\u53f7\uff08%\uff09\u7528\u4e8e\u53d6\u4f59\u6570<\/strong>\uff0c\u5b83\u662f\u4e00\u4e2a\u4e8c\u5143\u8fd0\u7b97\u7b26\uff0c\u7528\u4e8e\u8ba1\u7b97\u4e24\u4e2a\u6570\u76f8\u9664\u540e\u7684\u4f59\u6570\u3002\u5b83\u5e38\u7528\u4e8e\u5faa\u73af\u3001\u6761\u4ef6\u5224\u65ad\u4ee5\u53ca\u6570\u5b66\u8fd0\u7b97\u4e2d\u3002\u53d6\u4f59\u6570\u7684\u64cd\u4f5c\u975e\u5e38\u7b80\u5355\uff0c\u53ea\u9700\u5728\u4e24\u4e2a\u64cd\u4f5c\u6570\u4e4b\u95f4\u653e\u7f6e\u4e00\u4e2a\u767e\u5206\u53f7\u5373\u53ef\u3002\u53d6\u4f59\u6570\u7684\u5e38\u89c1\u5e94\u7528\u5305\u62ec<strong>\u5224\u65ad\u4e00\u4e2a\u6570\u662f\u5426\u4e3a\u5076\u6570\u6216\u5947\u6570<\/strong>\u3001<strong>\u5b9e\u73b0\u5faa\u73af\u7ed3\u6784<\/strong>\u3001<strong>\u9650\u5236\u6570\u503c\u8303\u56f4<\/strong>\u7b49\u3002\u4ee5\u4e0b\u5c06\u8be6\u7ec6\u4ecb\u7ecdPython\u4e2d\u53d6\u4f59\u6570\u8fd0\u7b97\u7684\u4f7f\u7528\u65b9\u6cd5\u53ca\u5176\u5e94\u7528\u573a\u666f\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u53d6\u4f59\u6570\u7684\u57fa\u672c\u7528\u6cd5<\/p>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u53d6\u4f59\u6570\u64cd\u4f5c\u7b26\u662f\u201c%\u201d\u3002\u5b83\u7528\u4e8e\u8ba1\u7b97\u4e24\u4e2a\u6574\u6570\u76f8\u9664\u540e\u7684\u4f59\u6570\u3002\u5176\u57fa\u672c\u7528\u6cd5\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">rem<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>nder = a % b<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5176\u4e2d\uff0c<code>a<\/code>\u548c<code>b<\/code>\u662f\u4e24\u4e2a\u6574\u6570\uff0c<code>remainder<\/code>\u662f<code>a<\/code>\u9664\u4ee5<code>b<\/code>\u540e\u7684\u4f59\u6570\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">remainder = 10 % 3<\/p>\n<p>print(remainder)  # \u8f93\u51fa\uff1a1<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c10\u9664\u4ee53\u7684\u5546\u662f3\uff0c\u4f59\u6570\u662f1\uff0c\u56e0\u6b64<code>10 % 3<\/code>\u7684\u7ed3\u679c\u4e3a1\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u5224\u65ad\u6570\u5b57\u7684\u5947\u5076\u6027<\/p>\n<\/p>\n<p><p>\u53d6\u4f59\u6570\u8fd0\u7b97\u5e38\u7528\u4e8e\u5224\u65ad\u4e00\u4e2a\u6574\u6570\u662f\u5947\u6570\u8fd8\u662f\u5076\u6570\u3002\u901a\u8fc7\u5bf92\u53d6\u4f59\uff0c\u53ef\u4ee5\u5224\u65ad\u6570\u5b57\u7684\u5947\u5076\u6027\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u5982\u679c<code>n % 2 == 0<\/code>\uff0c\u5219<code>n<\/code>\u662f\u5076\u6570\u3002<\/li>\n<li>\u5982\u679c<code>n % 2 != 0<\/code>\uff0c\u5219<code>n<\/code>\u662f\u5947\u6570\u3002<\/li>\n<\/ul>\n<p><p>\u793a\u4f8b\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">n = 5<\/p>\n<p>if n % 2 == 0:<\/p>\n<p>    print(f&quot;{n}\u662f\u5076\u6570&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(f&quot;{n}\u662f\u5947\u6570&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4e2a\u4ee3\u7801\u5c06\u8f93\u51fa<code>5\u662f\u5947\u6570<\/code>\uff0c\u56e0\u4e3a5\u9664\u4ee52\u7684\u4f59\u6570\u662f1\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u5faa\u73af\u4e2d\u7684\u5e94\u7528<\/p>\n<\/p>\n<p><p>\u53d6\u4f59\u8fd0\u7b97\u7b26\u5728\u5faa\u73af\u4e2d\u4e5f\u6709\u5e7f\u6cdb\u7684\u5e94\u7528\u3002\u4f8b\u5982\uff0c\u5728\u5faa\u73af\u4e2d\u6bcf\u9694\u4e00\u5b9a\u6b21\u6570\u6267\u884c\u67d0\u4e9b\u64cd\u4f5c\uff0c\u53ef\u4ee5\u4f7f\u7528\u53d6\u4f59\u6570\u6765\u5b9e\u73b0\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">for i in range(1, 11):<\/p>\n<p>    if i % 3 == 0:<\/p>\n<p>        print(f&quot;{i}\u662f3\u7684\u500d\u6570&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4e2a\u5faa\u73af\u5c06\u8f93\u51fa3\u30016\u548c9\uff0c\u56e0\u4e3a\u8fd9\u4e9b\u6570\u5b57\u90fd\u662f3\u7684\u500d\u6570\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001\u9650\u5236\u6570\u503c\u8303\u56f4<\/p>\n<\/p>\n<p><p>\u53d6\u4f59\u6570\u8fd0\u7b97\u7b26\u8fd8\u53ef\u4ee5\u7528\u4e8e\u9650\u5236\u6570\u503c\u8303\u56f4\u3002\u4f8b\u5982\uff0c\u5728\u6e38\u620f\u5f00\u53d1\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u53d6\u4f59\u6570\u6765\u5b9e\u73b0\u89d2\u8272\u5728\u5c4f\u5e55\u8fb9\u754c\u4e0a\u7684\u5faa\u73af\u79fb\u52a8\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">position = 7<\/p>\n<p>limit = 5<\/p>\n<p>new_position = position % limit<\/p>\n<p>print(new_position)  # \u8f93\u51fa\uff1a2<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u89d2\u8272\u7684\u4f4d\u7f6e\u8d85\u51fa\u4e86\u9650\u5236\uff0c\u901a\u8fc7\u53d6\u4f59\u6570\u8fd0\u7b97\uff0c\u5c06\u4f4d\u7f6e\u9650\u5236\u57280\u52304\u4e4b\u95f4\u3002<\/p>\n<\/p>\n<p><p>\u4e94\u3001\u5904\u7406\u6570\u7ec4\u5faa\u73af<\/p>\n<\/p>\n<p><p>\u5728\u5904\u7406\u6570\u7ec4\u6216\u5217\u8868\u65f6\uff0c\u53d6\u4f59\u6570\u8fd0\u7b97\u7b26\u53ef\u4ee5\u7528\u4e8e\u5b9e\u73b0\u5faa\u73af\u8bbf\u95ee\u3002\u4f8b\u5982\uff0c\u5982\u679c\u60f3\u8981\u5728\u8bbf\u95ee\u5217\u8868\u5143\u7d20\u65f6\u5faa\u73af\u56de\u5230\u5f00\u5934\uff0c\u53ef\u4ee5\u4f7f\u7528\u53d6\u4f59\u6570\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">array = [10, 20, 30, 40, 50]<\/p>\n<p>index = 7<\/p>\n<p>element = array[index % len(array)]<\/p>\n<p>print(element)  # \u8f93\u51fa\uff1a30<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c<code>index<\/code>\u8d85\u51fa\u4e86\u6570\u7ec4\u7684\u957f\u5ea6\uff0c\u901a\u8fc7\u5bf9\u6570\u7ec4\u957f\u5ea6\u53d6\u4f59\uff0c\u5b9e\u73b0\u4e86\u5faa\u73af\u8bbf\u95ee\u3002<\/p>\n<\/p>\n<p><p>\u516d\u3001\u65e5\u671f\u548c\u65f6\u95f4\u8ba1\u7b97<\/p>\n<\/p>\n<p><p>\u5728\u65e5\u671f\u548c\u65f6\u95f4\u8ba1\u7b97\u4e2d\uff0c\u53d6\u4f59\u6570\u8fd0\u7b97\u7b26\u4e5f\u6709\u5e94\u7528\u3002\u4f8b\u5982\uff0c\u8ba1\u7b97\u67d0\u4e2a\u65e5\u671f\u662f\u661f\u671f\u51e0\uff0c\u53ef\u4ee5\u901a\u8fc7\u53d6\u4f59\u6570\u5b9e\u73b0\u3002\u901a\u5e38\uff0c\u661f\u671f\u7684\u8ba1\u7b97\u57fa\u4e8e\u67d0\u4e2a\u5df2\u77e5\u65e5\u671f\u7684\u5929\u6570\u504f\u79fb\u91cf\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">days = 100<\/p>\n<p>week_day = days % 7<\/p>\n<p>print(week_day)  # \u8fd9\u5c06\u8f93\u51fa0\u52306\u4e4b\u95f4\u7684\u4e00\u4e2a\u6570\uff0c\u8868\u793a\u661f\u671f\u51e0<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c<code>week_day<\/code>\u8868\u793a\u76f8\u5bf9\u4e8e\u67d0\u4e2a\u5df2\u77e5\u661f\u671f\u51e0\u7684\u504f\u79fb\u91cf\u3002<\/p>\n<\/p>\n<p><p>\u4e03\u3001\u5bc6\u7801\u5b66\u4e2d\u7684\u5e94\u7528<\/p>\n<\/p>\n<p><p>\u5728\u5bc6\u7801\u5b66\u4e2d\uff0c\u6a21\u8fd0\u7b97\uff08\u53d6\u4f59\u6570\uff09\u662f\u8bb8\u591a\u52a0\u5bc6\u7b97\u6cd5\u7684\u57fa\u7840\u3002\u4f8b\u5982\uff0c\u5728RSA\u52a0\u5bc6\u4e2d\uff0c\u6a21\u8fd0\u7b97\u7528\u4e8e\u516c\u94a5\u548c\u79c1\u94a5\u7684\u751f\u6210\u548c\u4f7f\u7528\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">message = 65<\/p>\n<p>public_key = 7<\/p>\n<p>n = 143<\/p>\n<p>encrypted_message = (message  public_key) % n<\/p>\n<p>print(encrypted_message)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4e2a\u4f8b\u5b50\u5c55\u793a\u4e86\u5982\u4f55\u4f7f\u7528\u6a21\u8fd0\u7b97\u8fdb\u884c\u7b80\u5355\u7684\u52a0\u5bc6\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><p>\u516b\u3001\u6570\u5b66\u95ee\u9898\u6c42\u89e3<\/p>\n<\/p>\n<p><p>\u8bb8\u591a\u6570\u5b66\u95ee\u9898\u90fd\u53ef\u4ee5\u901a\u8fc7\u53d6\u4f59\u6570\u6765\u6c42\u89e3\u3002\u4f8b\u5982\uff0c\u6c42\u89e3\u540c\u4f59\u65b9\u7a0b\u3001\u8ba1\u7b97\u6700\u5927\u516c\u7ea6\u6570\u7b49\u90fd\u53ef\u4ee5\u901a\u8fc7\u53d6\u4f59\u6570\u8fd0\u7b97\u5b9e\u73b0\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def gcd(a, b):<\/p>\n<p>    while b != 0:<\/p>\n<p>        a, b = b, a % b<\/p>\n<p>    return a<\/p>\n<p>print(gcd(48, 18))  # \u8f93\u51fa\uff1a6<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4e2a\u4ee3\u7801\u4f7f\u7528\u6b27\u51e0\u91cc\u5f97\u7b97\u6cd5\u8ba1\u7b97\u4e24\u4e2a\u6570\u7684\u6700\u5927\u516c\u7ea6\u6570\uff0c\u901a\u8fc7\u4e0d\u65ad\u53d6\u4f59\u5b9e\u73b0\u3002<\/p>\n<\/p>\n<p><p>\u4e5d\u3001\u8fdb\u5236\u8f6c\u6362<\/p>\n<\/p>\n<p><p>\u5728\u8ba1\u7b97\u673a\u79d1\u5b66\u4e2d\uff0c\u8fdb\u5236\u8f6c\u6362\u5e38\u9700\u8981\u7528\u5230\u53d6\u4f59\u6570\u3002\u4f8b\u5982\uff0c\u5c06\u5341\u8fdb\u5236\u6570\u8f6c\u6362\u4e3a\u4e8c\u8fdb\u5236\u6570\uff0c\u53ef\u4ee5\u901a\u8fc7\u4e0d\u65ad\u5bf92\u53d6\u4f59\u5b9e\u73b0\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def decimal_to_binary(n):<\/p>\n<p>    binary = &#39;&#39;<\/p>\n<p>    while n &gt; 0:<\/p>\n<p>        binary = str(n % 2) + binary<\/p>\n<p>        n = n \/\/ 2<\/p>\n<p>    return binary<\/p>\n<p>print(decimal_to_binary(10))  # \u8f93\u51fa\uff1a1010<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4e2a\u4ee3\u7801\u5b9e\u73b0\u4e86\u5c06\u5341\u8fdb\u5236\u657010\u8f6c\u6362\u4e3a\u4e8c\u8fdb\u5236\u6570\u3002<\/p>\n<\/p>\n<p><p>\u5341\u3001\u56fe\u5f62\u5b66\u4e2d\u7684\u5e94\u7528<\/p>\n<\/p>\n<p><p>\u5728\u8ba1\u7b97\u673a\u56fe\u5f62\u5b66\u4e2d\uff0c\u53d6\u4f59\u6570\u8fd0\u7b97\u53ef\u4ee5\u7528\u4e8e\u5b9e\u73b0\u5e73\u94fa\u7eb9\u7406\u3001\u5faa\u73af\u989c\u8272\u7b49\u6548\u679c\u3002\u4f8b\u5982\uff0c\u5728\u5b9e\u73b0\u4e00\u4e2a\u7b80\u5355\u7684\u5faa\u73af\u989c\u8272\u53d8\u5316\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528\u53d6\u4f59\u6570\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">colors = [&#39;red&#39;, &#39;green&#39;, &#39;blue&#39;]<\/p>\n<p>for i in range(10):<\/p>\n<p>    print(colors[i % len(colors)])<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4e2a\u5faa\u73af\u5c06\u4f9d\u6b21\u8f93\u51fa\u7ea2\u3001\u7eff\u3001\u84dd\uff0c\u5e76\u5faa\u73af\u8f93\u51fa\u4e09\u79cd\u989c\u8272\u3002<\/p>\n<\/p>\n<p><p>\u603b\u4e4b\uff0c\u53d6\u4f59\u6570\u5728Python\u7f16\u7a0b\u4e2d\u662f\u4e00\u4e2a\u975e\u5e38\u91cd\u8981\u4e14\u5e38\u7528\u7684\u64cd\u4f5c\u7b26\u3002\u901a\u8fc7\u7406\u89e3\u548c\u638c\u63e1\u53d6\u4f59\u6570\u7684\u4f7f\u7528\u65b9\u6cd5\uff0c\u53ef\u4ee5\u5728\u5404\u79cd\u7f16\u7a0b\u573a\u666f\u4e2d\u5b9e\u73b0\u7075\u6d3b\u7684\u529f\u80fd\u3002\u65e0\u8bba\u662f\u6570\u5b66\u8ba1\u7b97\u3001\u5faa\u73af\u7ed3\u6784\u8fd8\u662f\u56fe\u5f62\u5904\u7406\uff0c\u53d6\u4f59\u6570\u90fd\u6709\u7740\u5e7f\u6cdb\u7684\u5e94\u7528\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5728Python\u4e2d\uff0c\u5982\u4f55\u4f7f\u7528%\u8fd0\u7b97\u7b26\u8fdb\u884c\u53d6\u4f59\u64cd\u4f5c\uff1f<\/strong><br \/>%\u8fd0\u7b97\u7b26\u5728Python\u4e2d\u7528\u4e8e\u8ba1\u7b97\u4e24\u4e2a\u6570\u76f8\u9664\u540e\u7684\u4f59\u6570\u3002\u4f8b\u5982\uff0c\u8868\u8fbe\u5f0f<code>5 % 2<\/code>\u5c06\u8fd4\u56de1\uff0c\u56e0\u4e3a5\u9664\u4ee52\u7684\u5546\u662f2\uff0c\u4f59\u6570\u662f1\u3002\u8fd9\u4e2a\u8fd0\u7b97\u7b26\u9002\u7528\u4e8e\u6574\u6570\u548c\u6d6e\u70b9\u6570\uff0c\u80fd\u5e2e\u52a9\u5f00\u53d1\u8005\u5feb\u901f\u83b7\u53d6\u9700\u8981\u7684\u4f59\u6570\u3002<\/p>\n<p><strong>%\u8fd0\u7b97\u7b26\u662f\u5426\u53ef\u4ee5\u4e0e\u8d1f\u6570\u4e00\u8d77\u4f7f\u7528\uff1f<\/strong><br \/>\u662f\u7684\uff0c%\u8fd0\u7b97\u7b26\u4e5f\u652f\u6301\u8d1f\u6570\u3002\u5728Python\u4e2d\uff0c\u7ed3\u679c\u7684\u7b26\u53f7\u4e0e\u9664\u6570\u76f8\u540c\u3002\u8fd9\u610f\u5473\u7740\u5982\u679c\u4f60\u8ba1\u7b97<code>-5 % 3<\/code>\uff0c\u7ed3\u679c\u5c06\u662f1\uff0c\u56e0\u4e3a-5\u9664\u4ee53\u7684\u5546\u662f-2\uff0c\u4f59\u6570\u662f1\u3002\u76f8\u53cd\uff0c<code>5 % -3<\/code>\u7684\u7ed3\u679c\u662f-1\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Python\u4e2d\u4f7f\u7528%\u8fd0\u7b97\u7b26\u8fdb\u884c\u6761\u4ef6\u5224\u65ad\uff1f<\/strong><br \/>\u53ef\u4ee5\u5229\u7528%\u8fd0\u7b97\u7b26\u5728if\u8bed\u53e5\u4e2d\u8fdb\u884c\u6761\u4ef6\u5224\u65ad\u3002\u4f8b\u5982\uff0c\u5224\u65ad\u4e00\u4e2a\u6570\u662f\u5426\u4e3a\u5076\u6570\uff0c\u53ef\u4ee5\u4f7f\u7528<code>if num % 2 == 0:<\/code>\u3002\u5982\u679c\u6761\u4ef6\u6210\u7acb\uff0c\u8bf4\u660e\u8be5\u6570\u662f\u5076\u6570\uff1b\u5426\u5219\uff0c\u5b83\u662f\u5947\u6570\u3002\u8fd9\u79cd\u65b9\u6cd5\u5728\u7f16\u5199\u63a7\u5236\u6d41\u65f6\u975e\u5e38\u5e38\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\uff0c\u767e\u5206\u53f7\u7b26\u53f7\uff08%\uff09\u7528\u4e8e\u53d6\u4f59\u6570\uff0c\u5b83\u662f\u4e00\u4e2a\u4e8c\u5143\u8fd0\u7b97\u7b26\uff0c\u7528\u4e8e\u8ba1\u7b97\u4e24\u4e2a\u6570\u76f8\u9664\u540e\u7684\u4f59\u6570\u3002\u5b83\u5e38\u7528\u4e8e\u5faa\u73af\u3001\u6761 [&hellip;]","protected":false},"author":3,"featured_media":1003470,"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\/1003463"}],"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=1003463"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1003463\/revisions"}],"predecessor-version":[{"id":1003474,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1003463\/revisions\/1003474"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1003470"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1003463"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1003463"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1003463"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}