{"id":1139141,"date":"2025-01-08T22:07:13","date_gmt":"2025-01-08T14:07:13","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1139141.html"},"modified":"2025-01-08T22:07:16","modified_gmt":"2025-01-08T14:07:16","slug":"python%e5%a6%82%e4%bd%95%e8%be%93%e5%85%a5%e4%b8%80%e4%b8%aa%e5%80%bc%e5%b9%b6%e4%b8%94%e6%9c%89%e6%8f%90%e7%a4%ba","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1139141.html","title":{"rendered":"python\u5982\u4f55\u8f93\u5165\u4e00\u4e2a\u503c\u5e76\u4e14\u6709\u63d0\u793a"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25102534\/99c93895-27d7-48fd-98ea-d8b1949eec1c.webp\" alt=\"python\u5982\u4f55\u8f93\u5165\u4e00\u4e2a\u503c\u5e76\u4e14\u6709\u63d0\u793a\" \/><\/p>\n<p><p> <strong>Python\u5982\u4f55\u8f93\u5165\u4e00\u4e2a\u503c\u5e76\u4e14\u6709\u63d0\u793a<\/strong>\uff1a<strong>\u4f7f\u7528<code>input()<\/code>\u51fd\u6570\u3001\u4f20\u9012\u63d0\u793a\u5b57\u7b26\u4e32\u3001\u5904\u7406\u8f93\u5165\u6570\u636e\u7c7b\u578b<\/strong>\u3002\u5f53\u6211\u4eec\u9700\u8981\u5728Python\u7a0b\u5e8f\u4e2d\u63a5\u6536\u7528\u6237\u8f93\u5165\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528<code>input()<\/code>\u51fd\u6570\uff0c\u5e76\u5728\u51fd\u6570\u4e2d\u4f20\u9012\u63d0\u793a\u5b57\u7b26\u4e32\u4ee5\u4fbf\u7528\u6237\u77e5\u9053\u9700\u8981\u8f93\u5165\u4ec0\u4e48\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528<code>input()<\/code>\u51fd\u6570\u5e76\u5904\u7406\u7528\u6237\u8f93\u5165\u7684\u6570\u636e\u7c7b\u578b\u3002<\/p>\n<\/p>\n<p><p>\u5728Python\u7f16\u7a0b\u4e2d\uff0c\u63a5\u6536\u7528\u6237\u8f93\u5165\u662f\u975e\u5e38\u5e38\u89c1\u7684\u9700\u6c42\u3002<strong>\u4f7f\u7528<code>input()<\/code>\u51fd\u6570<\/strong>\u662f\u6700\u57fa\u672c\u4e5f\u662f\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u3002\u901a\u8fc7\u4f20\u9012\u4e00\u4e2a\u63d0\u793a\u5b57\u7b26\u4e32\u5230<code>input()<\/code>\u51fd\u6570\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u5411\u7528\u6237\u63d0\u4f9b\u8f93\u5165\u63d0\u793a\uff0c\u4f7f\u5f97\u7528\u6237\u77e5\u9053\u9700\u8981\u8f93\u5165\u4ec0\u4e48\u5185\u5bb9\u3002\u7136\u540e\uff0c\u6839\u636e\u9700\u6c42\uff0c\u6211\u4eec\u53ef\u4ee5\u5bf9\u8f93\u5165\u7684\u6570\u636e\u8fdb\u884c\u7c7b\u578b\u8f6c\u6362\u548c\u9a8c\u8bc1\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528<code>input()<\/code>\u51fd\u6570<\/h3>\n<\/p>\n<p><p><code>input()<\/code>\u51fd\u6570\u662fPython\u4e2d\u7528\u4e8e\u63a5\u6536\u7528\u6237\u8f93\u5165\u7684\u5185\u7f6e\u51fd\u6570\u3002\u5b83\u4f1a\u6682\u505c\u7a0b\u5e8f\u7684\u6267\u884c\uff0c\u76f4\u5230\u7528\u6237\u8f93\u5165\u4e00\u4e9b\u5185\u5bb9\u5e76\u6309\u4e0b\u56de\u8f66\u952e\u3002\u8f93\u5165\u7684\u5185\u5bb9\u4f1a\u4f5c\u4e3a\u5b57\u7b26\u4e32\u8fd4\u56de\u3002<\/p>\n<\/p>\n<p><h4>\u793a\u4f8b\u4ee3\u7801<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\"># \u63d0\u793a\u7528\u6237\u8f93\u5165\u4e00\u4e2a\u6570\u5b57<\/p>\n<p>user_input = input(&quot;\u8bf7\u8f93\u5165\u4e00\u4e2a\u6570\u5b57\uff1a&quot;)<\/p>\n<p>print(&quot;\u4f60\u8f93\u5165\u7684\u6570\u5b57\u662f\uff1a&quot;, user_input)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u5f53\u7a0b\u5e8f\u6267\u884c\u5230<code>input()<\/code>\u51fd\u6570\u65f6\uff0c\u4f1a\u5728\u63a7\u5236\u53f0\u663e\u793a\u63d0\u793a\u4fe1\u606f\u201c\u8bf7\u8f93\u5165\u4e00\u4e2a\u6570\u5b57\uff1a\u201d\uff0c\u7b49\u5f85\u7528\u6237\u8f93\u5165\u3002\u7528\u6237\u8f93\u5165\u7684\u5185\u5bb9\u4f1a\u88ab\u8d4b\u503c\u7ed9\u53d8\u91cf<code>user_input<\/code>\uff0c\u5e76\u5728\u4e4b\u540e\u6253\u5370\u51fa\u6765\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u5904\u7406\u8f93\u5165\u7684\u6570\u636e\u7c7b\u578b<\/h3>\n<\/p>\n<p><p>\u7531\u4e8e<code>input()<\/code>\u51fd\u6570\u603b\u662f\u8fd4\u56de\u5b57\u7b26\u4e32\uff0c\u56e0\u6b64\u6709\u65f6\u6211\u4eec\u9700\u8981\u5c06\u8f93\u5165\u7684\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u5176\u4ed6\u6570\u636e\u7c7b\u578b\u3002\u4f8b\u5982\uff0c\u5982\u679c\u6211\u4eec\u5e0c\u671b\u7528\u6237\u8f93\u5165\u4e00\u4e2a\u6574\u6570\u6216\u6d6e\u70b9\u6570\uff0c\u6211\u4eec\u9700\u8981\u4f7f\u7528\u76f8\u5e94\u7684\u7c7b\u578b\u8f6c\u6362\u51fd\u6570\u3002<\/p>\n<\/p>\n<p><h4>\u793a\u4f8b\u4ee3\u7801<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\"># \u63d0\u793a\u7528\u6237\u8f93\u5165\u4e00\u4e2a\u6574\u6570<\/p>\n<p>user_input = input(&quot;\u8bf7\u8f93\u5165\u4e00\u4e2a\u6574\u6570\uff1a&quot;)<\/p>\n<p>try:<\/p>\n<p>    user_input_int = int(user_input)<\/p>\n<p>    print(&quot;\u4f60\u8f93\u5165\u7684\u6574\u6570\u662f\uff1a&quot;, user_input_int)<\/p>\n<p>except ValueError:<\/p>\n<p>    print(&quot;\u8f93\u5165\u65e0\u6548\uff0c\u8bf7\u8f93\u5165\u4e00\u4e2a\u6574\u6570\u3002&quot;)<\/p>\n<h2><strong>\u63d0\u793a\u7528\u6237\u8f93\u5165\u4e00\u4e2a\u6d6e\u70b9\u6570<\/strong><\/h2>\n<p>user_input = input(&quot;\u8bf7\u8f93\u5165\u4e00\u4e2a\u6d6e\u70b9\u6570\uff1a&quot;)<\/p>\n<p>try:<\/p>\n<p>    user_input_float = float(user_input)<\/p>\n<p>    print(&quot;\u4f60\u8f93\u5165\u7684\u6d6e\u70b9\u6570\u662f\uff1a&quot;, user_input_float)<\/p>\n<p>except ValueError:<\/p>\n<p>    print(&quot;\u8f93\u5165\u65e0\u6548\uff0c\u8bf7\u8f93\u5165\u4e00\u4e2a\u6d6e\u70b9\u6570\u3002&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u9996\u5148\u63d0\u793a\u7528\u6237\u8f93\u5165\u4e00\u4e2a\u6574\u6570\uff0c\u5e76\u4f7f\u7528<code>int()<\/code>\u51fd\u6570\u5c06\u8f93\u5165\u7684\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u6574\u6570\u3002\u5982\u679c\u8f6c\u6362\u5931\u8d25\uff08\u7528\u6237\u8f93\u5165\u4e86\u975e\u6574\u6570\u7684\u5185\u5bb9\uff09\uff0c\u7a0b\u5e8f\u4f1a\u6355\u83b7<code>ValueError<\/code>\u5f02\u5e38\u5e76\u63d0\u793a\u7528\u6237\u8f93\u5165\u65e0\u6548\u3002\u7c7b\u4f3c\u7684\uff0c\u6211\u4eec\u4e5f\u53ef\u4ee5\u63d0\u793a\u7528\u6237\u8f93\u5165\u6d6e\u70b9\u6570\u5e76\u4f7f\u7528<code>float()<\/code>\u51fd\u6570\u8fdb\u884c\u8f6c\u6362\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u9a8c\u8bc1\u7528\u6237\u8f93\u5165<\/h3>\n<\/p>\n<p><p>\u4e3a\u4e86\u63d0\u9ad8\u7528\u6237\u8f93\u5165\u7684\u53ef\u9760\u6027\u548c\u7a0b\u5e8f\u7684\u5065\u58ee\u6027\uff0c\u6211\u4eec\u53ef\u4ee5\u5bf9\u7528\u6237\u8f93\u5165\u8fdb\u884c\u9a8c\u8bc1\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u4ee5\u8981\u6c42\u7528\u6237\u8f93\u5165\u4e00\u4e2a\u7279\u5b9a\u8303\u56f4\u5185\u7684\u6570\u5b57\uff0c\u6216\u8005\u8f93\u5165\u4e00\u4e2a\u7b26\u5408\u7279\u5b9a\u683c\u5f0f\u7684\u5b57\u7b26\u4e32\u3002<\/p>\n<\/p>\n<p><h4>\u793a\u4f8b\u4ee3\u7801<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\"># \u63d0\u793a\u7528\u6237\u8f93\u5165\u4e00\u4e2a1\u523010\u4e4b\u95f4\u7684\u6574\u6570<\/p>\n<p>while True:<\/p>\n<p>    user_input = input(&quot;\u8bf7\u8f93\u5165\u4e00\u4e2a1\u523010\u4e4b\u95f4\u7684\u6574\u6570\uff1a&quot;)<\/p>\n<p>    try:<\/p>\n<p>        user_input_int = int(user_input)<\/p>\n<p>        if 1 &lt;= user_input_int &lt;= 10:<\/p>\n<p>            print(&quot;\u4f60\u8f93\u5165\u7684\u6574\u6570\u662f\uff1a&quot;, user_input_int)<\/p>\n<p>            break<\/p>\n<p>        else:<\/p>\n<p>            print(&quot;\u8f93\u5165\u65e0\u6548\uff0c\u8bf7\u8f93\u5165\u4e00\u4e2a1\u523010\u4e4b\u95f4\u7684\u6574\u6570\u3002&quot;)<\/p>\n<p>    except ValueError:<\/p>\n<p>        print(&quot;\u8f93\u5165\u65e0\u6548\uff0c\u8bf7\u8f93\u5165\u4e00\u4e2a\u6574\u6570\u3002&quot;)<\/p>\n<h2><strong>\u63d0\u793a\u7528\u6237\u8f93\u5165\u4e00\u4e2a\u6709\u6548\u7684\u7535\u5b50\u90ae\u4ef6\u5730\u5740<\/strong><\/h2>\n<p>import re<\/p>\n<p>def is_valid_em<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>l(email):<\/p>\n<p>    # \u7b80\u5355\u7684\u7535\u5b50\u90ae\u4ef6\u5730\u5740\u6b63\u5219\u8868\u8fbe\u5f0f<\/p>\n<p>    pattern = r&#39;^[\\w\\.-]+@[\\w\\.-]+\\.\\w+$&#39;<\/p>\n<p>    return re.match(pattern, email)<\/p>\n<p>while True:<\/p>\n<p>    user_input = input(&quot;\u8bf7\u8f93\u5165\u4e00\u4e2a\u6709\u6548\u7684\u7535\u5b50\u90ae\u4ef6\u5730\u5740\uff1a&quot;)<\/p>\n<p>    if is_valid_email(user_input):<\/p>\n<p>        print(&quot;\u4f60\u8f93\u5165\u7684\u7535\u5b50\u90ae\u4ef6\u5730\u5740\u662f\uff1a&quot;, user_input)<\/p>\n<p>        break<\/p>\n<p>    else:<\/p>\n<p>        print(&quot;\u8f93\u5165\u65e0\u6548\uff0c\u8bf7\u8f93\u5165\u4e00\u4e2a\u6709\u6548\u7684\u7535\u5b50\u90ae\u4ef6\u5730\u5740\u3002&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u9996\u5148\u63d0\u793a\u7528\u6237\u8f93\u5165\u4e00\u4e2a1\u523010\u4e4b\u95f4\u7684\u6574\u6570\u3002\u5982\u679c\u7528\u6237\u8f93\u5165\u7684\u6570\u5b57\u4e0d\u5728\u8fd9\u4e2a\u8303\u56f4\u5185\uff0c\u7a0b\u5e8f\u4f1a\u63d0\u793a\u8f93\u5165\u65e0\u6548\u5e76\u8981\u6c42\u91cd\u65b0\u8f93\u5165\u3002\u7c7b\u4f3c\u7684\uff0c\u6211\u4eec\u4e5f\u53ef\u4ee5\u63d0\u793a\u7528\u6237\u8f93\u5165\u4e00\u4e2a\u6709\u6548\u7684\u7535\u5b50\u90ae\u4ef6\u5730\u5740\uff0c\u5e76\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u5bf9\u8f93\u5165\u8fdb\u884c\u9a8c\u8bc1\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7\u4f7f\u7528<code>input()<\/code>\u51fd\u6570\u5e76\u4f20\u9012\u63d0\u793a\u5b57\u7b26\u4e32\uff0c\u6211\u4eec\u53ef\u4ee5\u65b9\u4fbf\u5730\u5728Python\u7a0b\u5e8f\u4e2d\u63a5\u6536\u7528\u6237\u8f93\u5165\u3002\u4e3a\u4e86\u5904\u7406\u7528\u6237\u8f93\u5165\u7684\u6570\u636e\u7c7b\u578b\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u76f8\u5e94\u7684\u7c7b\u578b\u8f6c\u6362\u51fd\u6570\uff0c\u5e76\u901a\u8fc7\u5f02\u5e38\u5904\u7406\u673a\u5236\u6765\u6355\u83b7\u548c\u5904\u7406\u65e0\u6548\u8f93\u5165\u3002\u4e3a\u4e86\u63d0\u9ad8\u8f93\u5165\u7684\u53ef\u9760\u6027\uff0c\u6211\u4eec\u8fd8\u53ef\u4ee5\u5bf9\u7528\u6237\u8f93\u5165\u8fdb\u884c\u9a8c\u8bc1\u3002\u901a\u8fc7\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u6211\u4eec\u53ef\u4ee5\u7f16\u5199\u51fa\u66f4\u52a0\u5065\u58ee\u548c\u7528\u6237\u53cb\u597d\u7684Python\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u521b\u5efa\u7528\u6237\u8f93\u5165\u7684\u63d0\u793a\u4fe1\u606f\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u4f7f\u7528\u5185\u7f6e\u7684<code>input()<\/code>\u51fd\u6570\u53ef\u4ee5\u8f7b\u677e\u521b\u5efa\u7528\u6237\u8f93\u5165\u7684\u63d0\u793a\u4fe1\u606f\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f20\u5165\u4e00\u4e2a\u5b57\u7b26\u4e32\u4f5c\u4e3a\u53c2\u6570\uff0c\u8fd9\u4e2a\u5b57\u7b26\u4e32\u5c06\u5728\u7528\u6237\u8f93\u5165\u65f6\u663e\u793a\u4e3a\u63d0\u793a\u3002\u793a\u4f8b\u4ee3\u7801\u5982\u4e0b\uff1a  <\/p>\n<pre><code class=\"language-python\">user_input = input(&quot;\u8bf7\u8f93\u5165\u4e00\u4e2a\u503c\uff1a&quot;)\nprint(&quot;\u60a8\u8f93\u5165\u7684\u503c\u662f:&quot;, user_input)\n<\/code><\/pre>\n<p>\u5728\u4e0a\u9762\u7684\u793a\u4f8b\u4e2d\uff0c\u63d0\u793a\u4fe1\u606f\u201c\u8bf7\u8f93\u5165\u4e00\u4e2a\u503c\uff1a\u201d\u5c06\u51fa\u73b0\u5728\u7ec8\u7aef\uff0c\u7b49\u5f85\u7528\u6237\u8f93\u5165\u3002<\/p>\n<p><strong>\u53ef\u4ee5\u81ea\u5b9a\u4e49\u63d0\u793a\u4fe1\u606f\u5417\uff1f<\/strong><br \/>\u662f\u7684\uff0c\u63d0\u793a\u4fe1\u606f\u53ef\u4ee5\u6839\u636e\u9700\u8981\u8fdb\u884c\u81ea\u5b9a\u4e49\u3002\u7528\u6237\u53ef\u4ee5\u5728<code>input()<\/code>\u51fd\u6570\u4e2d\u8f93\u5165\u4efb\u4f55\u5b57\u7b26\u4e32\uff0c\u4ee5\u4fbf\u63d0\u4f9b\u66f4\u5177\u4f53\u7684\u63d0\u793a\u3002\u4f8b\u5982\uff0c\u5982\u679c\u60a8\u5e0c\u671b\u7528\u6237\u8f93\u5165\u4ed6\u4eec\u7684\u540d\u5b57\uff0c\u53ef\u4ee5\u8fd9\u6837\u5199\uff1a  <\/p>\n<pre><code class=\"language-python\">name = input(&quot;\u8bf7\u544a\u8bc9\u6211\u60a8\u7684\u540d\u5b57\uff1a&quot;)\nprint(&quot;\u6b22\u8fce\u60a8\uff0c&quot;, name)\n<\/code><\/pre>\n<p>\u8fd9\u6837\uff0c\u7528\u6237\u5c06\u770b\u5230\u201c\u8bf7\u544a\u8bc9\u6211\u60a8\u7684\u540d\u5b57\uff1a\u201d\u7684\u63d0\u793a\u4fe1\u606f\u3002<\/p>\n<p><strong>\u5982\u4f55\u5904\u7406\u7528\u6237\u8f93\u5165\u7684\u9519\u8bef\u6216\u5f02\u5e38\uff1f<\/strong><br \/>\u5904\u7406\u7528\u6237\u8f93\u5165\u7684\u9519\u8bef\u662f\u7f16\u7a0b\u4e2d\u5e38\u89c1\u7684\u9700\u6c42\u3002\u53ef\u4ee5\u4f7f\u7528<code>try<\/code>\u548c<code>except<\/code>\u8bed\u53e5\u6765\u6355\u83b7\u5f02\u5e38\uff0c\u5e76\u63d0\u4f9b\u76f8\u5e94\u7684\u63d0\u793a\uff0c\u786e\u4fdd\u7a0b\u5e8f\u4e0d\u4f1a\u56e0\u4e3a\u9519\u8bef\u7684\u8f93\u5165\u800c\u5d29\u6e83\u3002\u4f8b\u5982\uff1a  <\/p>\n<pre><code class=\"language-python\">try:\n    age = int(input(&quot;\u8bf7\u8f93\u5165\u60a8\u7684\u5e74\u9f84\uff1a&quot;))\n    print(&quot;\u60a8\u8f93\u5165\u7684\u5e74\u9f84\u662f:&quot;, age)\nexcept ValueError:\n    print(&quot;\u8f93\u5165\u65e0\u6548\uff0c\u8bf7\u8f93\u5165\u4e00\u4e2a\u6570\u5b57\u3002&quot;)\n<\/code><\/pre>\n<p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u5982\u679c\u7528\u6237\u8f93\u5165\u7684\u4e0d\u662f\u6570\u5b57\uff0c\u7a0b\u5e8f\u5c06\u63d0\u793a\u201c\u8f93\u5165\u65e0\u6548\uff0c\u8bf7\u8f93\u5165\u4e00\u4e2a\u6570\u5b57\u3002\u201d\uff0c\u800c\u4e0d\u4f1a\u4e2d\u65ad\u8fd0\u884c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u5982\u4f55\u8f93\u5165\u4e00\u4e2a\u503c\u5e76\u4e14\u6709\u63d0\u793a\uff1a\u4f7f\u7528input()\u51fd\u6570\u3001\u4f20\u9012\u63d0\u793a\u5b57\u7b26\u4e32\u3001\u5904\u7406\u8f93\u5165\u6570\u636e\u7c7b\u578b\u3002\u5f53\u6211\u4eec\u9700\u8981\u5728P [&hellip;]","protected":false},"author":3,"featured_media":1139145,"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\/1139141"}],"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=1139141"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1139141\/revisions"}],"predecessor-version":[{"id":1139148,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1139141\/revisions\/1139148"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1139145"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1139141"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1139141"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1139141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}