{"id":176726,"date":"2024-05-08T19:16:41","date_gmt":"2024-05-08T11:16:41","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/176726.html"},"modified":"2024-05-08T19:16:53","modified_gmt":"2024-05-08T11:16:53","slug":"python%e6%80%8e%e4%b9%88%e7%94%a8while%e8%af%ad%e8%a8%80%e8%be%93%e5%85%a50123456789","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/176726.html","title":{"rendered":"python\u600e\u4e48\u7528while\u8bed\u8a00\u8f93\u51650123456789"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/27060518\/651dcbc6-14ac-4469-813a-d8c48c2c35b6.webp\" alt=\"python\u600e\u4e48\u7528while\u8bed\u8a00\u8f93\u51650123456789\" \/><\/p>\n<p><p><strong>Python\u4f7f\u7528while\u5faa\u73af\u8f93\u51650123456789<\/strong>\u7684\u8fc7\u7a0b\u975e\u5e38\u7b80\u5355\u548c\u76f4\u63a5\u3002\u4f60\u9700\u8981\u5229\u7528while\u5faa\u73af\u6784\u5efa\u4e00\u4e2a\u8fed\u4ee3\u5668\uff0c\u5f00\u59cb\u4e8e0\u3001\u7ed3\u675f\u4e8e9\u6765\u9010\u4e00\u6253\u5370\u51fa\u6570\u5b57\u3002\u5728\u8fd9\u4e2a\u8fc7\u7a0b\u4e2d\uff0c\u5173\u952e\u70b9\u5728\u4e8e\u7ef4\u62a4\u4e00\u4e2a\u5faa\u73af\u8ba1\u6570\u53d8\u91cf\u3001\u4f7f\u7528\u9002\u5f53\u7684\u6761\u4ef6\u5224\u65ad\u4ee5\u53ca\u5b9e\u73b0\u6b63\u786e\u7684\u8fed\u4ee3\u6b65\u8fdb\u3002<\/p>\n<\/p>\n<p><p>\u4e0b\u9762\u5c06\u8be6\u7ec6\u63cf\u8ff0\u5982\u4f55\u4f7f\u7528while\u5faa\u73af\u8f93\u51fa0123456789\uff1a<\/p>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u521d\u59cb\u5316\u4e00\u4e2a\u8ba1\u6570\u53d8\u91cf\uff0c\u901a\u5e38\u6211\u4eec\u521d\u59cb\u5316\u4e3a0\u3002\u5176\u6b21\uff0c\u8bbe\u7f6ewhile\u5faa\u73af\u7684\u6761\u4ef6\uff0c\u8fd9\u91cc\u662f\u6570\u5b57\u5c0f\u4e8e\u7b49\u4e8e9\u3002\u968f\u540e\uff0c\u5728\u5faa\u73af\u4f53\u5185\u90e8\u6253\u5370\u5f53\u524d\u6570\u5b57\uff0c\u7136\u540e\u589e\u52a0\u8ba1\u6570\u53d8\u91cf\u3002\u6700\u7ec8\uff0c\u5f53\u8ba1\u7b97\u53d8\u91cf\u8fbe\u523010\u65f6\uff0c\u5faa\u73af\u6761\u4ef6\u4e0d\u518d\u6210\u7acb\uff0c\u5faa\u73af\u7ed3\u675f\u3002<\/p>\n<\/p>\n<p><p>\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u9010\u6b65\u6df1\u5165\u8ba8\u8bba\u4ee3\u7801\u5b9e\u65bd\u7684\u4e0d\u540c\u65b9\u9762\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u521d\u59cb\u5316\u8ba1\u6570\u53d8\u91cf<\/h3>\n<\/p>\n<p><p>\u5728\u5f00\u59cbwhile\u5faa\u73af\u4e4b\u524d\uff0c\u6211\u4eec\u9700\u8981\u5b9a\u4e49\u4e00\u4e2a\u8ba1\u6570\u53d8\u91cf\uff0c\u901a\u5e38\u547d\u540d\u4e3a<code>i<\/code>\u6216<code>count<\/code>\uff0c\u5e76\u5c06\u5176\u521d\u59cb\u5316\u4e3a0\u3002\u8fd9\u4e2a\u53d8\u91cf\u5c06\u7528\u4e8e\u8ffd\u8e2a\u5f53\u524d\u6211\u4eec\u6b63\u5728\u5904\u7406\u7684\u6570\u5b57\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">i = 0  # \u521d\u59cb\u5316\u8ba1\u6570\u53d8\u91cf\u4e3a0<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e8c\u3001\u8bbe\u7f6ewhile\u5faa\u73af\u6761\u4ef6<\/h3>\n<\/p>\n<p><p>while\u5faa\u73af\u9700\u8981\u4e00\u4e2a\u6761\u4ef6\u6765\u5224\u65ad\u662f\u5426\u7ee7\u7eed\u5faa\u73af\u3002\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u5e0c\u671b\u5faa\u73af\u5728\u53d8\u91cf<code>i<\/code>\u5c0f\u4e8e\u6216\u7b49\u4e8e9\u65f6\u7ee7\u7eed\u8fdb\u884c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">while i &lt;= 9:  # \u8bbe\u7f6e\u5faa\u73af\u6761\u4ef6<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u6253\u5370\u6570\u5b57\u5e76\u589e\u52a0\u8ba1\u6570<\/h3>\n<\/p>\n<p><p>\u5728\u5faa\u73af\u4f53\u5185\uff0c\u6211\u4eec\u6253\u5370\u5f53\u524d\u7684\u6570\u5b57\u3002\u4e3a\u4e86\u907f\u514d\u5728\u6570\u5b57\u540e\u9762\u6253\u5370\u6362\u884c\uff0c\u53ef\u4ee5\u5728<code>print<\/code>\u51fd\u6570\u4e2d\u4f7f\u7528<code>end<\/code>\u53c2\u6570\u3002\u5b8c\u6210\u6253\u5370\u540e\uff0c\u5c06\u8ba1\u6570\u53d8\u91cf\u589e\u52a01\u4ee5\u4fbf\u5728\u4e0b\u4e00\u6b21\u5faa\u73af\u4e2d\u5904\u7406\u4e0b\u4e00\u4e2a\u6570\u5b57\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">    print(i, end=&#039;&#039;)  # \u6253\u5370\u5f53\u524d\u6570\u5b57\uff0c\u4e0d\u6362\u884c<\/p>\n<p>    i += 1  # \u8ba1\u6570\u53d8\u91cf\u81ea\u589e<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u56db\u3001\u5b8c\u6574\u7684while\u5faa\u73af\u4ee3\u7801\u793a\u4f8b<\/h3>\n<\/p>\n<p><p>\u4e0b\u9762\u662f\u5982\u4f55\u4f7f\u7528while\u5faa\u73af\u6765\u6253\u53700\u52309\u7684\u5b8c\u6574Python\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">i = 0  # \u521d\u59cb\u5316\u8ba1\u6570\u53d8\u91cf\u4e3a0<\/p>\n<p>while i &lt;= 9:  # \u8bbe\u7f6e\u5faa\u73af\u6761\u4ef6<\/p>\n<p>    print(i, end=&#039;&#039;)  # \u6253\u5370\u5f53\u524d\u6570\u5b57\uff0c\u4e0d\u6362\u884c<\/p>\n<p>    i += 1  # \u8ba1\u6570\u53d8\u91cf\u81ea\u589e<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5f53\u8fd0\u884c\u8fd9\u6bb5\u4ee3\u7801\u65f6\uff0c\u4f1a\u5728\u5c4f\u5e55\u4e0a\u8f93\u51fa\uff1a<\/p>\n<\/p>\n<p><pre><code>0123456789<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e94\u3001while\u5faa\u73af\u7684\u53d8\u4f53<\/h3>\n<\/p>\n<p><p>\u867d\u7136\u6700\u57fa\u672c\u7684while\u5faa\u73af\u8db3\u4ee5\u5b8c\u6210\u4efb\u52a1\uff0c\u4f60\u8fd8\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u989d\u5916\u7684\u903b\u8f91\u6765\u4e30\u5bcc\u5faa\u73af\u7684\u529f\u80fd\u3002\u4f8b\u5982\uff0c\u4f60\u53ef\u4ee5\u589e\u52a0\u9519\u8bef\u68c0\u67e5\u786e\u4fdd\u8ba1\u6570\u53d8\u91cf\u4e0d\u4f1a\u8d85\u8fc7\u9884\u671f\u7684\u8303\u56f4\uff0c\u6216\u8005\u5728\u5faa\u73af\u4f53\u4e2d\u6dfb\u52a0\u590d\u6742\u7684\u903b\u8f91\u6765\u5904\u7406\u4e0d\u540c\u7684\u60c5\u51b5\u3002<\/p>\n<\/p>\n<p><h3>\u516d\u3001\u7ed3\u8bba<\/h3>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u4f7f\u7528while\u5faa\u73af\u6765\u8fde\u7eed\u6253\u5370\u6570\u5b57\u662f\u4e00\u9879\u57fa\u7840\u4e14\u7b80\u5355\u7684\u64cd\u4f5c\u3002\u901a\u8fc7\u7ef4\u62a4\u4e00\u4e2a\u8ba1\u6570\u53d8\u91cf\u3001\u8bbe\u7f6e\u6b63\u786e\u7684\u5faa\u73af\u6761\u4ef6\u3001\u5728\u5faa\u73af\u4f53\u4e2d\u6253\u5370\u548c\u66f4\u65b0\u53d8\u91cf\uff0c\u4efb\u4f55\u4eba\u90fd\u53ef\u4ee5\u8f7b\u677e\u5730\u8f93\u51fa\u6570\u5b57\u5e8f\u5217\u3002\u4e0a\u8ff0\u65b9\u6cd5\u5bf9\u4e8e\u521d\u5b66\u8005\u5b66\u4e60\u5faa\u73af\u63a7\u5236\u7ed3\u6784\u548c\u7406\u89e3\u7a0b\u5e8f\u7684\u63a7\u5236\u6d41\u975e\u5e38\u6709\u7528\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>Q: \u5982\u4f55\u5728Python\u4e2d\u4f7f\u7528while\u5faa\u73af\u8f93\u51650\u52309\u7684\u6570\u5b57\uff1f<\/strong><\/p>\n<p>A: \u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u6765\u4f7f\u7528while\u5faa\u73af\u5728Python\u4e2d\u8f93\u51650\u52309\u7684\u6570\u5b57\uff1a<\/p>\n<ol>\n<li>\n<p>\u9996\u5148\uff0c\u521b\u5efa\u4e00\u4e2a\u53d8\u91cf\uff0c\u7528\u4e8e\u5b58\u50a8\u7528\u6237\u8f93\u5165\u7684\u6570\u5b57\u3002\u6bd4\u5982\u8bf4\uff0c\u53ef\u4ee5\u4f7f\u7528\u53d8\u91cf<code>num<\/code>\u3002<\/p>\n<\/li>\n<li>\n<p>\u7136\u540e\uff0c\u5728while\u5faa\u73af\u4e2d\u4f7f\u7528\u6761\u4ef6\u6765\u63a7\u5236\u5faa\u73af\u7684\u6267\u884c\u3002\u53ef\u4ee5\u4f7f\u7528<code>num<\/code>\u662f\u5426\u7b49\u4e8e9\u4f5c\u4e3a\u5faa\u73af\u6761\u4ef6\uff0c\u56e0\u4e3a\u6211\u4eec\u8981\u8f93\u51650\u52309\u7684\u6570\u5b57\u3002<\/p>\n<\/li>\n<li>\n<p>\u5728while\u5faa\u73af\u5185\u90e8\uff0c\u4f7f\u7528<code>input()<\/code>\u51fd\u6570\u6765\u83b7\u53d6\u7528\u6237\u8f93\u5165\u7684\u6570\u5b57\u3002\u53ef\u4ee5\u4f7f\u7528<code>num = int(input(&quot;\u8bf7\u8f93\u5165\u4e00\u4e2a\u6570\u5b57\uff1a&quot;))<\/code>\u6765\u83b7\u53d6\u6570\u5b57\u5e76\u5c06\u5176\u8f6c\u6362\u4e3a\u6574\u6570\u7c7b\u578b\u3002<\/p>\n<\/li>\n<li>\n<p>\u63a5\u4e0b\u6765\uff0c\u53ef\u4ee5\u6dfb\u52a0\u4e00\u4e9b\u903b\u8f91\u6765\u5224\u65ad\u7528\u6237\u8f93\u5165\u7684\u6570\u5b57\u662f\u5426\u57280\u52309\u4e4b\u95f4\u3002\u4f8b\u5982\uff0c\u4f7f\u7528if\u8bed\u53e5\u6765\u68c0\u67e5<code>num<\/code>\u662f\u5426\u5927\u4e8e\u7b49\u4e8e0\u4e14\u5c0f\u4e8e\u7b49\u4e8e9\uff0c\u5982\u679c\u4e0d\u662f\uff0c\u5219\u63d0\u793a\u7528\u6237\u91cd\u65b0\u8f93\u5165\u3002<\/p>\n<\/li>\n<li>\n<p>\u6700\u540e\uff0c\u53ef\u4ee5\u5c06\u7528\u6237\u8f93\u5165\u7684\u6570\u5b57\u6253\u5370\u51fa\u6765\uff0c\u6216\u8005\u6267\u884c\u5176\u4ed6\u9700\u8981\u7684\u64cd\u4f5c\u3002<\/p>\n<\/li>\n<\/ol>\n<p>\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<pre><code class=\"language-python\">num = 0\n\nwhile num != 9:\n    num = int(input(&quot;\u8bf7\u8f93\u5165\u4e00\u4e2a\u6570\u5b57\uff1a&quot;))\n    \n    if num &lt; 0 or num &gt; 9:\n        print(&quot;\u8bf7\u8f93\u51650\u52309\u4e4b\u95f4\u7684\u6570\u5b57\uff01&quot;)\n    \n    print(&quot;\u4f60\u8f93\u5165\u7684\u6570\u5b57\u662f\uff1a&quot;, num)\n<\/code><\/pre>\n<p><strong>Q: Python\u4e2d\u4f7f\u7528while\u5faa\u73af\u8f93\u51650\u52309\u7684\u6570\u5b57\u6709\u4ec0\u4e48\u597d\u5904\uff1f<\/strong><\/p>\n<p>A: \u4f7f\u7528while\u5faa\u73af\u8f93\u51650\u52309\u7684\u6570\u5b57\u6709\u4ee5\u4e0b\u51e0\u4e2a\u597d\u5904\uff1a<\/p>\n<ol>\n<li>\n<p>\u7075\u6d3b\u6027\uff1awhile\u5faa\u73af\u53ef\u4ee5\u6839\u636e\u6761\u4ef6\u7684\u771f\u5047\u901a\u8fc7\u589e\u52a0\u6216\u51cf\u5c11\u5faa\u73af\u6b21\u6570\u6765\u7075\u6d3b\u5730\u5904\u7406\u8f93\u5165\u3002\u8fd9\u610f\u5473\u7740\uff0c\u7528\u6237\u53ef\u4ee5\u6839\u636e\u9700\u8981\u8f93\u5165\u4efb\u610f\u591a\u4e2a\u6570\u5b57\uff0c\u800c\u4e0d\u9700\u8981\u56fa\u5b9a\u7684\u5faa\u73af\u6b21\u6570\u3002<\/p>\n<\/li>\n<li>\n<p>\u9a8c\u8bc1\u8f93\u5165\uff1a\u5728\u4f7f\u7528while\u5faa\u73af\u8f93\u5165\u6570\u5b57\u65f6\uff0c\u53ef\u4ee5\u6dfb\u52a0\u4e00\u4e9b\u903b\u8f91\u6765\u9a8c\u8bc1\u7528\u6237\u7684\u8f93\u5165\u662f\u5426\u7b26\u5408\u9884\u671f\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u68c0\u67e5\u7528\u6237\u8f93\u5165\u7684\u6570\u5b57\u662f\u5426\u57280\u52309\u4e4b\u95f4\uff0c\u5982\u679c\u4e0d\u662f\uff0c\u5219\u53ef\u4ee5\u8981\u6c42\u7528\u6237\u91cd\u65b0\u8f93\u5165\u3002\u8fd9\u6837\u53ef\u4ee5\u786e\u4fdd\u8f93\u5165\u7684\u6570\u5b57\u7b26\u5408\u9884\u671f\u7684\u8303\u56f4\u3002<\/p>\n<\/li>\n<li>\n<p>\u4ea4\u4e92\u6027\uff1a\u4f7f\u7528while\u5faa\u73af\u8f93\u5165\u6570\u5b57\u65f6\uff0c\u53ef\u4ee5\u4e0e\u7528\u6237\u8fdb\u884c\u4ea4\u4e92\uff0c\u5e76\u5728\u6bcf\u6b21\u5faa\u73af\u8fed\u4ee3\u4e2d\u6253\u5370\u51fa\u7528\u6237\u8f93\u5165\u7684\u6570\u5b57\u6216\u6267\u884c\u5176\u4ed6\u64cd\u4f5c\u3002\u8fd9\u589e\u52a0\u4e86\u7a0b\u5e8f\u7684\u4ea4\u4e92\u6027\uff0c\u4f7f\u5f97\u7528\u6237\u4f53\u9a8c\u66f4\u597d\u3002<\/p>\n<\/li>\n<\/ol>\n<p><strong>Q: \u8fd8\u6709\u5176\u4ed6\u7684\u65b9\u6cd5\u53ef\u4ee5\u5728Python\u4e2d\u8f93\u51650\u52309\u7684\u6570\u5b57\u5417\uff1f<\/strong><\/p>\n<p>A: \u662f\u7684\uff0c\u9664\u4e86\u4f7f\u7528while\u5faa\u73af\u4e4b\u5916\uff0c\u8fd8\u6709\u5176\u4ed6\u65b9\u6cd5\u53ef\u4ee5\u5728Python\u4e2d\u8f93\u51650\u52309\u7684\u6570\u5b57\u3002\u4ee5\u4e0b\u662f\u4e24\u79cd\u5e38\u89c1\u7684\u65b9\u6cd5\uff1a<\/p>\n<ol>\n<li>\n<p>\u4f7f\u7528for\u5faa\u73af\uff1a\u53ef\u4ee5\u4f7f\u7528for\u5faa\u73af\u548crange\u51fd\u6570\u6765\u8fed\u4ee30\u52309\u4e4b\u95f4\u7684\u6570\u5b57\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528<code>for num in range(10):<\/code>\u6765\u904d\u53860\u52309\u7684\u6570\u5b57\u3002\u6bcf\u6b21\u5faa\u73af\u8fed\u4ee3\u65f6\uff0c\u53ef\u4ee5\u8981\u6c42\u7528\u6237\u8f93\u5165\u4e00\u4e2a\u6570\u5b57\uff0c\u5e76\u8fdb\u884c\u9002\u5f53\u7684\u9a8c\u8bc1\u548c\u5904\u7406\u3002<\/p>\n<\/li>\n<li>\n<p>\u4f7f\u7528\u5217\u8868\u63a8\u5bfc\u5f0f\uff1a\u53ef\u4ee5\u4f7f\u7528\u5217\u8868\u63a8\u5bfc\u5f0f\u751f\u62100\u52309\u7684\u6570\u5b57\u5217\u8868\uff0c\u5e76\u5c06\u5176\u4f5c\u4e3a\u8f93\u5165\u4f9b\u7a0b\u5e8f\u4f7f\u7528\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528<code>numbers = [num for num in range(10)]<\/code>\u6765\u751f\u6210\u5305\u542b0\u52309\u7684\u6570\u5b57\u7684\u5217\u8868\u3002\u7136\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u4e2a\u5faa\u73af\u6765\u904d\u5386\u8fd9\u4e2a\u5217\u8868\uff0c\u5e76\u8981\u6c42\u7528\u6237\u8f93\u5165\u4e00\u4e2a\u6570\u5b57\uff0c\u5e76\u8fdb\u884c\u9002\u5f53\u7684\u9a8c\u8bc1\u548c\u5904\u7406\u3002<\/p>\n<\/li>\n<\/ol>\n<p>\u4ee5\u4e0a\u8fd9\u4e9b\u65b9\u6cd5\u90fd\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u7684\u9700\u6c42\u9009\u62e9\u4f7f\u7528\uff0c\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u6765\u786e\u5b9a\u54ea\u79cd\u65b9\u6cd5\u66f4\u9002\u5408\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u4f7f\u7528while\u5faa\u73af\u8f93\u51650123456789\u7684\u8fc7\u7a0b\u975e\u5e38\u7b80\u5355\u548c\u76f4\u63a5\u3002\u4f60\u9700\u8981\u5229\u7528while\u5faa\u73af\u6784\u5efa\u4e00\u4e2a\u8fed [&hellip;]","protected":false},"author":3,"featured_media":176744,"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\/176726"}],"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=176726"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/176726\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/176744"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=176726"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=176726"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=176726"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}