{"id":175751,"date":"2024-05-08T18:57:11","date_gmt":"2024-05-08T10:57:11","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/175751.html"},"modified":"2024-05-08T18:57:22","modified_gmt":"2024-05-08T10:57:22","slug":"python%e5%a6%82%e4%bd%95%e8%af%81%e6%98%8e%e6%ad%a3%e6%95%b4%e6%95%b0n%e4%b8%89%e6%ac%a1%e6%96%b9%e7%ad%89%e4%ba%8en%e4%b8%aa%e8%bf%9e%e7%bb%ad%e5%a5%87%e6%95%b0%e6%83%b3%e5%8a%a0","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/175751.html","title":{"rendered":"Python\u5982\u4f55\u8bc1\u660e\u6b63\u6574\u6570n\u4e09\u6b21\u65b9\u7b49\u4e8en\u4e2a\u8fde\u7eed\u5947\u6570\u60f3\u52a0"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/27053740\/a512f123-17f6-4d92-835d-9ac984fe987d.webp\" alt=\"Python\u5982\u4f55\u8bc1\u660e\u6b63\u6574\u6570n\u4e09\u6b21\u65b9\u7b49\u4e8en\u4e2a\u8fde\u7eed\u5947\u6570\u60f3\u52a0\" \/><\/p>\n<p><p>Python\u901a\u8fc7\u7f16\u7a0b\u5b9e\u73b0\u6570\u5b66\u5b9a\u7406\u6216\u8bc1\u660e\u7684\u65b9\u6cd5\uff0c\u4e0d\u4ec5\u5c55\u73b0\u4e86\u5176\u4f5c\u4e3a\u4e00\u79cd\u7f16\u7a0b\u8bed\u8a00\u7684\u7075\u6d3b\u6027\u548c\u5f3a\u5927\u529f\u80fd\uff0c\u800c\u4e14\u8fd8\u4e3a\u6570\u5b66\u7231\u597d\u8005\u548c\u7814\u7a76\u8005\u63d0\u4f9b\u4e86\u9a8c\u8bc1\u548c\u63a2\u7d22\u6570\u5b66\u6982\u5ff5\u7684\u65b0\u9014\u5f84\u3002\u8bc1\u660e\u6b63\u6574\u6570n\u7684\u4e09\u6b21\u65b9\u7b49\u4e8en\u4e2a\u8fde\u7eed\u5947\u6570\u4e4b\u548c\uff0c\u662f\u4e00\u4e2a\u53e4\u8001\u4f46\u6781\u5177\u9b45\u529b\u7684\u6570\u5b66\u95ee\u9898\uff0c\u5b83\u63ed\u793a\u4e86\u6570\u5b66\u7ed3\u6784\u4e4b\u95f4\u7684\u60ca\u4eba\u5173\u7cfb\u3002\u901a\u8fc7Python\u7f16\u7a0b\u6765\u8bc1\u660e\u8fd9\u4e00\u70b9\uff0c<strong>\u6211\u4eec\u9996\u5148\u8981\u7406\u89e3\u8fd9\u4e2a\u7b49\u5f0f\u80cc\u540e\u7684\u6570\u5b66\u539f\u7406\u3001\u5176\u6b21\u662f\u638c\u63e1\u5982\u4f55\u5728Python\u4e2d\u8868\u8fbe\u8fd9\u4e9b\u6570\u5b66\u6982\u5ff5\u4ee5\u53ca\u5982\u4f55\u5229\u7528\u5faa\u73af\u548c\u6761\u4ef6\u8bed\u53e5\u6765\u6784\u9020\u8bc1\u660e\u7684\u903b\u8f91<\/strong>\u3002<\/p>\n<\/p>\n<p><p>\u8fd9\u4e2a\u5b9a\u7406\u7684\u6838\u5fc3\u5728\u4e8e\u7406\u89e3\u7b49\u5dee\u6570\u5217\u548c\u7acb\u65b9\u6570\u4e4b\u95f4\u7684\u5173\u7cfb\u3002\u5bf9\u4e8e\u6b63\u6574\u6570n\uff0c\u5176\u7acb\u65b9n^3\u53ef\u4ee5\u88ab\u8868\u793a\u4e3an\u4e2a\u8fde\u7eed\u5947\u6570\u4e4b\u548c\u3002\u8fd9\u4e9b\u8fde\u7eed\u7684\u5947\u6570\u5b9e\u9645\u4e0a\u5f62\u6210\u4e86\u4e00\u4e2a\u7b49\u5dee\u6570\u5217\uff0c\u5176\u516c\u5dee\u4e3a2\u3002\u5728\u8fd9\u4e2a\u6570\u5217\u4e2d\uff0c\u4e2d\u95f4\u7684\u6570\u6070\u597d\u662fn\u7684\u5e73\u65b9\uff0c\u8fd9\u662f\u56e0\u4e3an\u4e2a\u5947\u6570\u4e4b\u548c\u5f62\u6210\u7684\u6b63\u65b9\u5f62\u7684\u4e00\u4e2a\u8fb9\u957f\u662fn\uff0c\u4ece\u800c\u6bcf\u4e2a\u5947\u6570\u53ef\u4ee5\u770b\u4f5c\u662f\u6b63\u65b9\u5f62\u7684\u4e00\u5c42\u3002\u540c\u65f6\uff0c\u7acb\u65b9\u6570\u4e4b\u6240\u4ee5\u53ef\u4ee5\u5206\u89e3\u4e3a\u8fd9\u6837\u7684\u5947\u6570\u548c\uff0c\u6839\u690d\u4e8e\u5b83\u4eec\u5728\u51e0\u4f55\u5f62\u72b6\u4e0a\u7684\u4e00\u79cd\u72ec\u7279\u6392\u5217\u65b9\u5f0f\u3002\u63a5\u4e0b\u6765\u5c06\u901a\u8fc7Python\u7f16\u7a0b\u5177\u4f53\u5c55\u5f00\u8fd9\u4e00\u8bc1\u660e\u8fc7\u7a0b\u3002<\/p>\n<\/p>\n<p><h2>\u4e00\u3001\u6570\u5b66\u7406\u8bba\u57fa\u7840<\/h2>\n<\/p>\n<p><p>\u5728\u6b63\u5f0f\u8fdb\u5165Python\u7f16\u7a0b\u4e4b\u524d\uff0c\u6211\u4eec\u9996\u5148\u9700\u8981\u4e86\u89e3\u4e00\u4e0b\u80cc\u540e\u7684\u6570\u5b66\u7406\u8bba\u3002\u6b63\u6574\u6570n\u7684\u4e09\u6b21\u65b9\u7b49\u4e8en\u4e2a\u8fde\u7eed\u5947\u6570\u4e4b\u548c\uff0c\u5b9e\u9645\u4e0a\u4f9d\u8d56\u4e8e\u7b49\u5dee\u6570\u5217\u7684\u7279\u6027\u3002\u4e00\u4e2a\u7b49\u5dee\u6570\u5217\u662f\u7531\u8d77\u59cb\u5143\u7d20\u5f00\u59cb\uff0c\u6bcf\u4e00\u9879\u4e0e\u524d\u4e00\u9879\u7684\u5dee\u4fdd\u6301\u5e38\u6570\u7684\u5e8f\u5217\u3002\u5728\u8fd9\u4e2a\u95ee\u9898\u4e2d\uff0c\u8fde\u7eed\u5947\u6570\u5c31\u5f62\u6210\u4e86\u4e00\u4e2a\u4ee52\u4e3a\u516c\u5dee\u7684\u7b49\u5dee\u6570\u5217\u3002\u800c\u7b49\u5dee\u6570\u5217\u7684\u4e00\u4e2a\u91cd\u8981\u6027\u8d28\u662f\uff0c\u5176n\u9879\u4e4b\u548c\u662fn\u9879\u7684\u5e73\u5747\u6570\u4e58\u4ee5\u9879\u6570n\u3002<\/p>\n<\/p>\n<p><p>\u8003\u8651\u5230\u6bcf\u4e2a\u5947\u6570\u53ef\u4ee5\u88ab\u89c6\u4e3a\u4e00\u4e2a\u6b63\u65b9\u5f62\u7684\u4e00\u5c42\uff0c\u90a3\u4e48n\u4e2a\u5947\u6570\u4e4b\u548c\u5f62\u6210\u7684\u662f\u4e00\u4e2a\u4fa7\u9762\u957f\u5ea6\u4e3an\u7684\u7acb\u65b9\u4f53\u3002\u8fd9\u6837\uff0c\u8fd9\u4e2a\u95ee\u9898\u5c31\u8f6c\u5316\u4e3a\u901a\u8fc7\u627e\u5230\u5408\u9002\u7684\u8fde\u7eed\u5947\u6570\uff08\u7b49\u5dee\u6570\u5217\u7684n\u9879\uff09\uff0c\u6765\u6784\u9020\u51fa\u4e00\u4e2a\u7acb\u65b9\u4f53\u3002<\/p>\n<\/p>\n<p><h2>\u4e8c\u3001PYTHON\u7a0b\u5e8f\u8bbe\u8ba1<\/h2>\n<\/p>\n<p><p>\u8981\u5728Python\u4e2d\u5b9e\u73b0\u8fd9\u4e00\u8bc1\u660e\uff0c\u6211\u4eec\u9700\u8981\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u64cd\u4f5c\uff1a\u9996\u5148\uff0c\u5b9a\u4e49\u4e00\u4e2a\u51fd\u6570\u63a5\u53d7\u4e00\u4e2a\u6b63\u6574\u6570n\uff0c\u8be5\u51fd\u6570\u7684\u4efb\u52a1\u662f\u627e\u5230\u4e00\u7ec4\u8fde\u7eed\u7684\u5947\u6570\uff0c\u5176\u548c\u7b49\u4e8en\u7684\u4e09\u6b21\u65b9\u3002\u63a5\u7740\uff0c\u4f7f\u7528\u5faa\u73af\u548c\u6761\u4ef6\u5224\u65ad\u6765\u5b9e\u73b0\u627e\u8fd9\u6837\u4e00\u7ec4\u5947\u6570\u7684\u903b\u8f91\u3002\u6700\u540e\uff0c\u901a\u8fc7\u6253\u5370\u6216\u8fd4\u56de\u8fd9\u7ec4\u5947\u6570\u6765\u9a8c\u8bc1\u6211\u4eec\u7684\u8bc1\u660e\u3002<\/p>\n<\/p>\n<p><h3>\u5b9a\u4e49\u51fd\u6570<\/h3>\n<\/p>\n<p><p>\u6211\u4eec\u5b9a\u4e49\u4e00\u4e2a\u540d\u4e3a<code>find_consecutive_odds<\/code>\u7684\u51fd\u6570\uff0c\u5b83\u63a5\u53d7\u4e00\u4e2a\u53c2\u6570n\uff0c\u8fd4\u56de\u4e00\u4e2a\u5217\u8868\uff0c\u8fd9\u4e2a\u5217\u8868\u5305\u542b\u8fde\u7eed\u7684\u3001\u548c\u4e3an^3\u7684\u5947\u6570\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def find_consecutive_odds(n):<\/p>\n<p>    # \u903b\u8f91\u5b9e\u73b0<\/p>\n<p>    pass<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u5bfb\u627e\u8fde\u7eed\u5947\u6570<\/h3>\n<\/p>\n<p><p>\u63a5\u4e0b\u6765\u7684\u4efb\u52a1\u662f\u627e\u51fa\u6ee1\u8db3\u6761\u4ef6\u7684\u8fde\u7eed\u5947\u6570\u3002\u5047\u8bbe\u8fd9\u7ec4\u5947\u6570\u7684\u8d77\u59cb\u503c\u662fa\uff0c\u90a3\u4e48\u7b2ci\u4e2a\u5947\u6570\u5c31\u662f<code>a + 2*(i - 1)<\/code>\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e\u4e00\u4e2a\u5faa\u73af\uff0c\u4ee5\u5c1d\u8bd5\u4e0d\u540c\u7684\u8d77\u59cb\u503ca\uff0c\u7136\u540e\u8ba1\u7b97\u4e00\u7ec4\u7279\u5b9a\u6570\u91cfn\u7684\u5947\u6570\u4e4b\u548c\uff0c\u76f4\u5230\u8fd9\u4e2a\u548c\u7b49\u4e8en\u7684\u4e09\u6b21\u65b9\u3002<\/p>\n<\/p>\n<p><h3>\u9a8c\u8bc1\u7ed3\u679c<\/h3>\n<\/p>\n<p><p>\u5f53\u6211\u4eec\u627e\u5230\u4e86\u8fd9\u6837\u4e00\u7ec4\u5947\u6570\u65f6\uff0c\u5c31\u5b8c\u6210\u4e86\u8bc1\u660e\u7684\u4efb\u52a1\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u6253\u5370\u8fd9\u7ec4\u5947\u6570\u6216\u8005\u4ee5\u56fe\u5f62\u7684\u65b9\u5f0f\u5c55\u793a\u8fd9\u4e2a\u7b49\u5f0f\uff0c\u6765\u76f4\u89c2\u5730\u7406\u89e3\u7acb\u65b9\u6570\u4e0e\u8fde\u7eed\u5947\u6570\u4e4b\u548c\u4e4b\u95f4\u7684\u5173\u7cfb\u3002<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\uff0c\u5728Python\u4e2d\u5b9e\u73b0\u5bf9\u6b63\u6574\u6570n\u7684\u4e09\u6b21\u65b9\u7b49\u4e8en\u4e2a\u8fde\u7eed\u5947\u6570\u4e4b\u548c\u7684\u8bc1\u660e\uff0c\u4e0d\u4ec5\u4f53\u73b0\u4e86\u7f16\u7a0b\u4e0e\u6570\u5b66\u4e4b\u95f4\u7684\u5bc6\u5207\u8054\u7cfb\uff0c\u8fd8\u63d0\u4f9b\u4e86\u4e00\u79cd\u65b0\u7684\u89c6\u89d2\u6765\u7406\u89e3\u6570\u5b66\u5b9a\u7406\u3002\u8fd9\u79cd\u65b9\u6cd5\u5c06\u62bd\u8c61\u7684\u6570\u5b66\u6982\u5ff5\u5177\u8c61\u5316\uff0c\u4ee5\u7f16\u7a0b\u7684\u5f62\u5f0f\u5c55\u73b0\u51fa\u6765\uff0c\u4e3a\u5b66\u4e60\u548c\u7814\u7a76\u6570\u5b66\u63d0\u4f9b\u4e86\u4e00\u4e2a\u6709\u8da3\u4e14\u5bcc\u6709\u521b\u9020\u6027\u7684\u9014\u5f84\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>\u95ee\u9898\u4e00\uff1aPython\u4e2d\u5982\u4f55\u8bc1\u660e\u6b63\u6574\u6570n\u7684\u4e09\u6b21\u65b9\u7b49\u4e8en\u4e2a\u8fde\u7eed\u5947\u6570\u76f8\u52a0\u7684\u548c\uff1f<\/strong><\/p>\n<p>\u7b54\uff1a\u8981\u8bc1\u660e\u8fd9\u4e2a\u7b49\u5f0f\uff0c\u5728Python\u4e2d\u6211\u4eec\u53ef\u4ee5\u7f16\u5199\u4e00\u4e2a\u7a0b\u5e8f\u6765\u8fdb\u884c\u9a8c\u8bc1\u3002\u9996\u5148\uff0c\u6211\u4eec\u5b9a\u4e49\u4e00\u4e2a\u51fd\u6570\u6765\u8ba1\u7b97n\u4e2a\u8fde\u7eed\u5947\u6570\u4e4b\u548c\u3002\u7136\u540e\uff0c\u6211\u4eec\u4f7f\u7528\u4e00\u4e2a\u5faa\u73af\u6765\u8fed\u4ee3\u4ece1\u5230n\u7684\u6240\u6709\u6b63\u6574\u6570\uff0c\u5e76\u5c06\u6bcf\u4e2a\u6570\u7684\u4e09\u6b21\u65b9\u4e0en\u4e2a\u8fde\u7eed\u5947\u6570\u4e4b\u548c\u8fdb\u884c\u6bd4\u8f83\u3002\u5982\u679c\u5b83\u4eec\u76f8\u7b49\uff0c\u5219\u8f93\u51fa\u9a8c\u8bc1\u6210\u529f\uff0c\u5426\u5219\u8f93\u51fa\u9a8c\u8bc1\u5931\u8d25\u3002<\/p>\n<p><strong>\u95ee\u9898\u4e8c\uff1aPython\u4e2d\u5982\u4f55\u8ba1\u7b97\u6b63\u6574\u6570n\u7684\u4e09\u6b21\u65b9\uff0c\u5e76\u8bc1\u660e\u5b83\u7b49\u4e8en\u4e2a\u8fde\u7eed\u5947\u6570\u7684\u548c\uff1f<\/strong><\/p>\n<p>\u7b54\uff1a\u8981\u8ba1\u7b97\u6b63\u6574\u6570n\u7684\u4e09\u6b21\u65b9\uff0c\u5e76\u8bc1\u660e\u5b83\u7b49\u4e8en\u4e2a\u8fde\u7eed\u5947\u6570\u7684\u548c\uff0c\u5728Python\u4e2d\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u5e42\u8fd0\u7b97\u7b26\uff08**\uff09\u6765\u8ba1\u7b97n\u7684\u4e09\u6b21\u65b9\u3002\u7136\u540e\uff0c\u6211\u4eec\u53ef\u4ee5\u7f16\u5199\u4e00\u4e2a\u5faa\u73af\u6765\u8fed\u4ee3\u4ece1\u5230n\u7684\u6240\u6709\u6b63\u6574\u6570\uff0c\u5e76\u5c06\u6bcf\u4e2a\u6570\u7684\u4e09\u6b21\u65b9\u4e0en\u4e2a\u8fde\u7eed\u5947\u6570\u4e4b\u548c\u8fdb\u884c\u6bd4\u8f83\u3002\u5982\u679c\u5b83\u4eec\u76f8\u7b49\uff0c\u5219\u8f93\u51fa\u8bc1\u660e\u6210\u529f\uff0c\u5426\u5219\u8f93\u51fa\u8bc1\u660e\u5931\u8d25\u3002<\/p>\n<p><strong>\u95ee\u9898\u4e09\uff1aPython\u4e2d\u5982\u4f55\u4f7f\u7528\u6570\u5b66\u5f52\u7eb3\u6cd5\u8bc1\u660e\u6b63\u6574\u6570n\u7684\u4e09\u6b21\u65b9\u7b49\u4e8en\u4e2a\u8fde\u7eed\u5947\u6570\u7684\u548c\uff1f<\/strong><\/p>\n<p>\u7b54\uff1a\u8981\u4f7f\u7528\u6570\u5b66\u5f52\u7eb3\u6cd5\u8bc1\u660e\u6b63\u6574\u6570n\u7684\u4e09\u6b21\u65b9\u7b49\u4e8en\u4e2a\u8fde\u7eed\u5947\u6570\u7684\u548c\uff0c\u6211\u4eec\u53ef\u4ee5\u7f16\u5199\u4e00\u4e2a\u9012\u5f52\u51fd\u6570\u6765\u8ba1\u7b97n\u4e2a\u8fde\u7eed\u5947\u6570\u7684\u548c\u3002\u7136\u540e\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u6570\u5b66\u5f52\u7eb3\u6cd5\u7684\u4e09\u4e2a\u6b65\u9aa4\u6765\u8fdb\u884c\u8bc1\u660e\uff1a\u57fa\u7840\u6b65\u9aa4\u3001\u5f52\u7eb3\u5047\u8bbe\u548c\u5f52\u7eb3\u6b65\u9aa4\u3002\u9996\u5148\uff0c\u6211\u4eec\u8bc1\u660e\u5f53n=1\u65f6\u7b49\u5f0f\u6210\u7acb\u3002\u7136\u540e\uff0c\u6211\u4eec\u5047\u8bbe\u5f53n=k\u65f6\u7b49\u5f0f\u6210\u7acb\uff0c\u5373k\u7684\u4e09\u6b21\u65b9\u7b49\u4e8ek\u4e2a\u8fde\u7eed\u5947\u6570\u7684\u548c\u3002\u6700\u540e\uff0c\u6211\u4eec\u901a\u8fc7\u9a8c\u8bc1\u7b49\u5f0f\u5bf9n=k+1\u7684\u60c5\u51b5\u662f\u5426\u6210\u7acb\u6765\u5b8c\u6210\u5f52\u7eb3\u6b65\u9aa4\u3002\u5982\u679c\u7b49\u5f0f\u5bf9\u4e8e\u6240\u6709\u6b63\u6574\u6570n\u90fd\u6210\u7acb\uff0c\u5219\u6211\u4eec\u53ef\u4ee5\u5f97\u51fa\u7ed3\u8bba\uff1a\u6b63\u6574\u6570n\u7684\u4e09\u6b21\u65b9\u7b49\u4e8en\u4e2a\u8fde\u7eed\u5947\u6570\u7684\u548c\u3002 \u5728Python\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u7f16\u5199\u4e00\u4e2a\u9012\u5f52\u51fd\u6570\u6765\u8ba1\u7b97n\u4e2a\u8fde\u7eed\u5947\u6570\u7684\u548c\uff0c\u5e76\u4f7f\u7528\u5faa\u73af\u6765\u8fdb\u884c\u8bc1\u660e\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u901a\u8fc7\u7f16\u7a0b\u5b9e\u73b0\u6570\u5b66\u5b9a\u7406\u6216\u8bc1\u660e\u7684\u65b9\u6cd5\uff0c\u4e0d\u4ec5\u5c55\u73b0\u4e86\u5176\u4f5c\u4e3a\u4e00\u79cd\u7f16\u7a0b\u8bed\u8a00\u7684\u7075\u6d3b\u6027\u548c\u5f3a\u5927\u529f\u80fd\uff0c\u800c\u4e14\u8fd8\u4e3a\u6570\u5b66\u7231\u597d [&hellip;]","protected":false},"author":3,"featured_media":175769,"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\/175751"}],"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=175751"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/175751\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/175769"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=175751"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=175751"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=175751"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}