{"id":957367,"date":"2024-12-27T02:58:40","date_gmt":"2024-12-26T18:58:40","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/957367.html"},"modified":"2024-12-27T02:58:43","modified_gmt":"2024-12-26T18:58:43","slug":"python%e5%a6%82%e4%bd%95%e8%be%93%e5%85%a5%e5%ad%97%e6%ae%b5%e5%8d%95%e8%af%8d","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/957367.html","title":{"rendered":"python\u5982\u4f55\u8f93\u5165\u5b57\u6bb5\u5355\u8bcd"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25100714\/c5be8cc2-aed3-4783-8443-ad01e2d54a5c.webp\" alt=\"python\u5982\u4f55\u8f93\u5165\u5b57\u6bb5\u5355\u8bcd\" \/><\/p>\n<p><p> \u5728Python\u4e2d\uff0c\u8f93\u5165\u5b57\u6bb5\u5355\u8bcd\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528<code>input()<\/code>\u51fd\u6570\u6765\u5b9e\u73b0\u3002<strong>\u901a\u8fc7<code>input()<\/code>\u51fd\u6570\u63a5\u6536\u7528\u6237\u8f93\u5165\u3001\u5c06\u5176\u8d4b\u503c\u7ed9\u53d8\u91cf\u3001\u5e76\u6839\u636e\u9700\u8981\u8fdb\u884c\u5904\u7406\u548c\u9a8c\u8bc1<\/strong>\u3002\u4ee5\u4e0b\u662f\u8be6\u7ec6\u7684\u8bf4\u660e\u548c\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4f7f\u7528<code>input()<\/code>\u51fd\u6570\u63a5\u6536\u8f93\u5165\uff1a<\/strong> Python\u63d0\u4f9b\u4e86\u4e00\u4e2a\u7b80\u5355\u7684<code>input()<\/code>\u51fd\u6570\uff0c\u53ef\u4ee5\u5728\u63a7\u5236\u53f0\u4e2d\u7b49\u5f85\u7528\u6237\u8f93\u5165\uff0c\u5e76\u5728\u7528\u6237\u6309\u4e0b\u56de\u8f66\u952e\u540e\u8fd4\u56de\u7528\u6237\u8f93\u5165\u7684\u5185\u5bb9\u3002\u8fd9\u4e2a\u51fd\u6570\u7684\u8fd4\u56de\u503c\u662f\u4e00\u4e2a\u5b57\u7b26\u4e32\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8d4b\u503c\u7ed9\u53d8\u91cf\uff1a<\/strong> \u60a8\u53ef\u4ee5\u5c06<code>input()<\/code>\u51fd\u6570\u7684\u8fd4\u56de\u503c\u8d4b\u7ed9\u4e00\u4e2a\u53d8\u91cf\uff0c\u4ee5\u4fbf\u540e\u7eed\u64cd\u4f5c\u3002\u4f8b\u5982\uff1a<code>word = input(&quot;Please enter a word: &quot;)<\/code>\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8f93\u5165\u9a8c\u8bc1\u4e0e\u5904\u7406\uff1a<\/strong> \u5728\u83b7\u53d6\u7528\u6237\u8f93\u5165\u540e\uff0c\u901a\u5e38\u9700\u8981\u5bf9\u8f93\u5165\u8fdb\u884c\u9a8c\u8bc1\u548c\u5904\u7406\uff0c\u4ee5\u786e\u4fdd\u5176\u7b26\u5408\u9884\u671f\u3002\u4f8b\u5982\uff0c\u68c0\u67e5\u8f93\u5165\u662f\u5426\u4e3a\u7a7a\uff0c\u6216\u8005\u662f\u5426\u5305\u542b\u7279\u5b9a\u7684\u5b57\u7b26\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4ee5\u4e0b\u662f\u4e00\u4e2a\u8be6\u7ec6\u7684\u793a\u4f8b\u548c\u66f4\u591a\u7684\u5185\u5bb9\u8bf4\u660e\uff1a<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u8f93\u5165\u5355\u8bcd\u7684\u57fa\u7840\u65b9\u6cd5<\/h3>\n<\/p>\n<p><p>Python\u4e2d\u6700\u57fa\u672c\u7684\u8f93\u5165\u65b9\u6cd5\u662f\u901a\u8fc7<code>input()<\/code>\u51fd\u6570\u5b9e\u73b0\u3002<code>input()<\/code>\u51fd\u6570\u7528\u4e8e\u4ece\u7528\u6237\u83b7\u53d6\u8f93\u5165\uff0c\u5e76\u8fd4\u56de\u4e00\u4e2a\u5b57\u7b26\u4e32\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">word = input(&quot;Please enter a word: &quot;)<\/p>\n<p>print(&quot;You entered:&quot;, word)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u7a0b\u5e8f\u4f1a\u663e\u793a\u63d0\u793a\u4fe1\u606f\u201cPlease enter a word:\u201d\uff0c\u5e76\u7b49\u5f85\u7528\u6237\u8f93\u5165\u3002\u5f53\u7528\u6237\u8f93\u5165\u4e00\u4e2a\u5355\u8bcd\u5e76\u6309\u4e0b\u56de\u8f66\u952e\u540e\uff0c\u8f93\u5165\u7684\u5185\u5bb9\u4f1a\u88ab\u5b58\u50a8\u5728\u53d8\u91cf<code>word<\/code>\u4e2d\uff0c\u7136\u540e\u901a\u8fc7<code>print()<\/code>\u51fd\u6570\u5c06\u5176\u8f93\u51fa\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u8f93\u5165\u9a8c\u8bc1\u4e0e\u5904\u7406<\/h3>\n<\/p>\n<p><p>\u5728\u83b7\u53d6\u7528\u6237\u8f93\u5165\u540e\uff0c\u901a\u5e38\u9700\u8981\u8fdb\u884c\u4e00\u4e9b\u9a8c\u8bc1\u548c\u5904\u7406\uff0c\u4ee5\u786e\u4fdd\u8f93\u5165\u7b26\u5408\u7a0b\u5e8f\u7684\u9884\u671f\u3002<\/p>\n<\/p>\n<p><h4>\u8f93\u5165\u4e0d\u80fd\u4e3a\u7a7a<\/h4>\n<\/p>\n<p><p>\u5728\u8bb8\u591a\u60c5\u51b5\u4e0b\uff0c\u60a8\u53ef\u80fd\u5e0c\u671b\u786e\u4fdd\u7528\u6237\u8f93\u5165\u7684\u5185\u5bb9\u4e0d\u4e3a\u7a7a\u3002\u53ef\u4ee5\u901a\u8fc7\u68c0\u67e5\u5b57\u7b26\u4e32\u7684\u957f\u5ea6\u6765\u5b9e\u73b0\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">word = input(&quot;Please enter a word: &quot;).strip()<\/p>\n<p>if len(word) == 0:<\/p>\n<p>    print(&quot;Input cannot be empty. Please enter a valid word.&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(&quot;You entered:&quot;, word)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u4f7f\u7528<code>strip()<\/code>\u65b9\u6cd5\u53bb\u9664\u8f93\u5165\u5b57\u7b26\u4e32\u7684\u9996\u5c3e\u7a7a\u683c\uff0c\u7136\u540e\u68c0\u67e5\u5176\u957f\u5ea6\u662f\u5426\u4e3a\u96f6\u3002\u5982\u679c\u8f93\u5165\u4e3a\u7a7a\uff0c\u7a0b\u5e8f\u4f1a\u63d0\u793a\u7528\u6237\u91cd\u65b0\u8f93\u5165\u3002<\/p>\n<\/p>\n<p><h4>\u68c0\u67e5\u8f93\u5165\u662f\u5426\u4e3a\u7279\u5b9a\u683c\u5f0f<\/h4>\n<\/p>\n<p><p>\u6709\u65f6\uff0c\u60a8\u53ef\u80fd\u5e0c\u671b\u786e\u4fdd\u8f93\u5165\u6ee1\u8db3\u7279\u5b9a\u7684\u683c\u5f0f\u8981\u6c42\u3002\u4f8b\u5982\uff0c\u68c0\u67e5\u8f93\u5165\u662f\u5426\u53ea\u5305\u542b\u5b57\u6bcd\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">word = input(&quot;Please enter a word: &quot;).strip()<\/p>\n<p>if word.isalpha():<\/p>\n<p>    print(&quot;You entered a valid word:&quot;, word)<\/p>\n<p>else:<\/p>\n<p>    print(&quot;Input must only cont<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>n letters. Please try again.&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u4f7f\u7528<code>isalpha()<\/code>\u65b9\u6cd5\u68c0\u67e5\u8f93\u5165\u662f\u5426\u53ea\u5305\u542b\u5b57\u6bcd\u3002\u5982\u679c\u8f93\u5165\u5305\u542b\u5176\u4ed6\u5b57\u7b26\uff0c\u7a0b\u5e8f\u4f1a\u63d0\u793a\u7528\u6237\u91cd\u65b0\u8f93\u5165\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u5904\u7406\u591a\u8bcd\u8f93\u5165<\/h3>\n<\/p>\n<p><p>\u6709\u65f6\u5019\uff0c\u7528\u6237\u8f93\u5165\u53ef\u80fd\u5305\u542b\u591a\u4e2a\u5355\u8bcd\u3002\u53ef\u4ee5\u4f7f\u7528\u5b57\u7b26\u4e32\u7684\u5206\u5272\u65b9\u6cd5\u6765\u5904\u7406\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">sentence = input(&quot;Please enter a sentence: &quot;).strip()<\/p>\n<p>words = sentence.split()<\/p>\n<p>print(&quot;You entered the following words:&quot;, words)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c<code>split()<\/code>\u65b9\u6cd5\u7528\u4e8e\u5c06\u8f93\u5165\u7684\u5b57\u7b26\u4e32\u62c6\u5206\u4e3a\u5355\u8bcd\u5217\u8868\u3002\u7136\u540e\u53ef\u4ee5\u5bf9\u6bcf\u4e2a\u5355\u8bcd\u8fdb\u884c\u5355\u72ec\u5904\u7406\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u4f7f\u7528\u8f93\u5165\u6570\u636e<\/h3>\n<\/p>\n<p><p>\u83b7\u53d6\u5e76\u9a8c\u8bc1\u8f93\u5165\u540e\uff0c\u60a8\u53ef\u4ee5\u5c06\u5176\u7528\u4e8e\u5404\u79cd\u76ee\u7684\uff0c\u4f8b\u5982\u5728\u7a0b\u5e8f\u4e2d\u8ba1\u7b97\u3001\u5b58\u50a8\u6216\u8fdb\u4e00\u6b65\u5904\u7406\u3002<\/p>\n<\/p>\n<p><h4>\u5728\u7a0b\u5e8f\u4e2d\u4f7f\u7528\u8f93\u5165<\/h4>\n<\/p>\n<p><p>\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u793a\u4f8b\uff0c\u6f14\u793a\u5982\u4f55\u5728\u7a0b\u5e8f\u4e2d\u4f7f\u7528\u7528\u6237\u8f93\u5165\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">word = input(&quot;Please enter a word: &quot;).strip()<\/p>\n<p>if word.isalpha():<\/p>\n<p>    reversed_word = word[::-1]<\/p>\n<p>    print(&quot;The reverse of the word is:&quot;, reversed_word)<\/p>\n<p>else:<\/p>\n<p>    print(&quot;Input must only contain letters. Please try again.&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u7a0b\u5e8f\u63a5\u53d7\u4e00\u4e2a\u5355\u8bcd\u8f93\u5165\uff0c\u5e76\u68c0\u67e5\u5b83\u662f\u5426\u53ea\u5305\u542b\u5b57\u6bcd\u3002\u5982\u679c\u662f\uff0c\u5219\u8f93\u51fa\u8be5\u5355\u8bcd\u7684\u53cd\u8f6c\u7248\u672c\u3002<\/p>\n<\/p>\n<p><h4>\u5b58\u50a8\u8f93\u5165\u6570\u636e<\/h4>\n<\/p>\n<p><p>\u60a8\u8fd8\u53ef\u4ee5\u5c06\u7528\u6237\u8f93\u5165\u7684\u6570\u636e\u5b58\u50a8\u5728\u6570\u636e\u7ed3\u6784\u4e2d\uff0c\u4ee5\u4fbf\u540e\u7eed\u4f7f\u7528\u3002\u4f8b\u5982\uff0c\u5c06\u591a\u4e2a\u8f93\u5165\u5b58\u50a8\u5728\u5217\u8868\u4e2d\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">words = []<\/p>\n<p>while True:<\/p>\n<p>    word = input(&quot;Please enter a word (or &#39;exit&#39; to quit): &quot;).strip()<\/p>\n<p>    if word.lower() == &#39;exit&#39;:<\/p>\n<p>        break<\/p>\n<p>    elif word.isalpha():<\/p>\n<p>        words.append(word)<\/p>\n<p>    else:<\/p>\n<p>        print(&quot;Input must only contain letters. Please try again.&quot;)<\/p>\n<p>print(&quot;You entered the following words:&quot;, words)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u7528\u6237\u53ef\u4ee5\u8fde\u7eed\u8f93\u5165\u591a\u4e2a\u5355\u8bcd\uff0c\u76f4\u5230\u8f93\u5165\u201cexit\u201d\u4e3a\u6b62\u3002\u6240\u6709\u6709\u6548\u7684\u5355\u8bcd\u5c06\u88ab\u5b58\u50a8\u5728\u5217\u8868<code>words<\/code>\u4e2d\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>Python\u4e2d\u7684<code>input()<\/code>\u51fd\u6570\u4e3a\u7528\u6237\u4ea4\u4e92\u63d0\u4f9b\u4e86\u4e00\u4e2a\u7b80\u5355\u800c\u5f3a\u5927\u7684\u65b9\u5f0f\u3002\u901a\u8fc7\u7ed3\u5408\u8f93\u5165\u9a8c\u8bc1\u548c\u5904\u7406\u6280\u672f\uff0c\u60a8\u53ef\u4ee5\u786e\u4fdd\u7a0b\u5e8f\u4ec5\u63a5\u53d7\u7b26\u5408\u9884\u671f\u7684\u8f93\u5165\uff0c\u5e76\u5bf9\u5176\u8fdb\u884c\u6709\u6548\u7684\u5904\u7406\u548c\u4f7f\u7528\u3002\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u8f93\u5165\u6570\u636e\u901a\u5e38\u9700\u8981\u8fdb\u4e00\u6b65\u7684\u5904\u7406\u548c\u9a8c\u8bc1\uff0c\u4ee5\u786e\u4fdd\u6570\u636e\u7684\u6709\u6548\u6027\u548c\u5b89\u5168\u6027\u3002\u5e0c\u671b\u672c\u6307\u5357\u80fd\u5e2e\u52a9\u60a8\u638c\u63e1Python\u4e2d\u7684\u8f93\u5165\u5904\u7406\u6280\u672f\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u63a5\u6536\u7528\u6237\u8f93\u5165\u7684\u5355\u8bcd\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u4f7f\u7528<code>input()<\/code>\u51fd\u6570\u53ef\u4ee5\u8f7b\u677e\u63a5\u6536\u7528\u6237\u8f93\u5165\u7684\u5355\u8bcd\u3002\u53ea\u9700\u8c03\u7528\u8be5\u51fd\u6570\u5e76\u5c06\u63d0\u793a\u4fe1\u606f\u4f20\u9012\u7ed9\u5b83\uff0c\u7528\u6237\u8f93\u5165\u7684\u5185\u5bb9\u5c06\u4ee5\u5b57\u7b26\u4e32\u5f62\u5f0f\u8fd4\u56de\u3002\u4f8b\u5982\uff1a  <\/p>\n<pre><code class=\"language-python\">word = input(&quot;\u8bf7\u8f93\u5165\u4e00\u4e2a\u5355\u8bcd\uff1a&quot;)\nprint(&quot;\u60a8\u8f93\u5165\u7684\u5355\u8bcd\u662f:&quot;, word)\n<\/code><\/pre>\n<p>\u8fd9\u79cd\u65b9\u5f0f\u9002\u7528\u4e8e\u4efb\u4f55\u9700\u8981\u7528\u6237\u8f93\u5165\u7684\u573a\u666f\uff0c\u65e0\u8bba\u662f\u5355\u4e2a\u5355\u8bcd\u8fd8\u662f\u53e5\u5b50\u3002<\/p>\n<p><strong>\u5982\u4f55\u786e\u4fdd\u7528\u6237\u8f93\u5165\u7684\u5355\u8bcd\u7b26\u5408\u7279\u5b9a\u6761\u4ef6\uff1f<\/strong><br \/>\u53ef\u4ee5\u4f7f\u7528\u6761\u4ef6\u8bed\u53e5\u6765\u9a8c\u8bc1\u7528\u6237\u8f93\u5165\u7684\u5355\u8bcd\u662f\u5426\u7b26\u5408\u7279\u5b9a\u8981\u6c42\u3002\u4f8b\u5982\uff0c\u5982\u679c\u60a8\u5e0c\u671b\u7528\u6237\u8f93\u5165\u7684\u5355\u8bcd\u4ec5\u5305\u542b\u5b57\u6bcd\uff0c\u53ef\u4ee5\u4f7f\u7528<code>isalpha()<\/code>\u65b9\u6cd5\u8fdb\u884c\u68c0\u67e5\uff1a  <\/p>\n<pre><code class=\"language-python\">word = input(&quot;\u8bf7\u8f93\u5165\u4e00\u4e2a\u5355\u8bcd\uff1a&quot;)\nif word.isalpha():\n    print(&quot;\u60a8\u8f93\u5165\u7684\u5355\u8bcd\u662f:&quot;, word)\nelse:\n    print(&quot;\u8f93\u5165\u65e0\u6548\uff0c\u8bf7\u786e\u4fdd\u53ea\u5305\u542b\u5b57\u6bcd\u3002&quot;)\n<\/code><\/pre>\n<p>\u8fd9\u79cd\u65b9\u6cd5\u80fd\u591f\u6709\u6548\u8fc7\u6ee4\u6389\u4e0d\u7b26\u5408\u6761\u4ef6\u7684\u8f93\u5165\uff0c\u63d0\u5347\u7a0b\u5e8f\u7684\u5065\u58ee\u6027\u3002<\/p>\n<p><strong>\u5982\u4f55\u5904\u7406\u7528\u6237\u8f93\u5165\u7684\u5355\u8bcd\u5e76\u8fdb\u884c\u8f6c\u6362\uff1f<\/strong><br \/>\u5728\u63a5\u6536\u7528\u6237\u8f93\u5165\u540e\uff0c\u60a8\u53ef\u80fd\u5e0c\u671b\u5bf9\u5355\u8bcd\u8fdb\u884c\u8fdb\u4e00\u6b65\u7684\u5904\u7406\uff0c\u4f8b\u5982\u8f6c\u6362\u4e3a\u5927\u5199\u6216\u5c0f\u5199\u3002\u4f7f\u7528\u5b57\u7b26\u4e32\u7684<code>upper()<\/code>\u548c<code>lower()<\/code>\u65b9\u6cd5\u53ef\u4ee5\u8f7b\u677e\u5b9e\u73b0\uff1a  <\/p>\n<pre><code class=\"language-python\">word = input(&quot;\u8bf7\u8f93\u5165\u4e00\u4e2a\u5355\u8bcd\uff1a&quot;)\nprint(&quot;\u5927\u5199\u5f62\u5f0f:&quot;, word.upper())\nprint(&quot;\u5c0f\u5199\u5f62\u5f0f:&quot;, word.lower())\n<\/code><\/pre>\n<p>\u901a\u8fc7\u8fd9\u79cd\u65b9\u5f0f\uff0c\u60a8\u53ef\u4ee5\u6839\u636e\u9700\u6c42\u7075\u6d3b\u5730\u8c03\u6574\u7528\u6237\u8f93\u5165\u7684\u5185\u5bb9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\uff0c\u8f93\u5165\u5b57\u6bb5\u5355\u8bcd\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528input()\u51fd\u6570\u6765\u5b9e\u73b0\u3002\u901a\u8fc7input()\u51fd\u6570\u63a5\u6536\u7528\u6237\u8f93\u5165\u3001\u5c06\u5176\u8d4b [&hellip;]","protected":false},"author":3,"featured_media":957369,"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\/957367"}],"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=957367"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/957367\/revisions"}],"predecessor-version":[{"id":957370,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/957367\/revisions\/957370"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/957369"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=957367"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=957367"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=957367"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}