{"id":1102859,"date":"2025-01-08T16:04:21","date_gmt":"2025-01-08T08:04:21","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1102859.html"},"modified":"2025-01-08T16:04:25","modified_gmt":"2025-01-08T08:04:25","slug":"python%e5%a6%82%e4%bd%95%e7%94%9f%e4%ba%a7%e4%b8%80%e4%b8%aa%e9%80%92%e5%87%8f%e6%95%b0%e5%88%97","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1102859.html","title":{"rendered":"python\u5982\u4f55\u751f\u4ea7\u4e00\u4e2a\u9012\u51cf\u6570\u5217"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25064946\/c6250951-6b65-4bf8-b03b-423c33770ff2.webp\" alt=\"python\u5982\u4f55\u751f\u4ea7\u4e00\u4e2a\u9012\u51cf\u6570\u5217\" \/><\/p>\n<p><p> \u751f\u4ea7\u4e00\u4e2a\u9012\u51cf\u6570\u5217\u5728Python\u4e2d\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u5b9e\u73b0\uff0c\u5305\u62ec\u4f7f\u7528for\u5faa\u73af\u3001\u5217\u8868\u63a8\u5bfc\u5f0f\u3001\u4ee5\u53ca\u5185\u7f6e\u51fd\u6570<code>range()<\/code>\u3002<strong>\u4f7f\u7528range()\u51fd\u6570\u3001\u4f7f\u7528\u5217\u8868\u63a8\u5bfc\u5f0f\u3001\u4f7f\u7528for\u5faa\u73af<\/strong>\u3002\u4e0b\u9762\u6211\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528\u8fd9\u51e0\u79cd\u65b9\u6cd5\u6765\u751f\u6210\u9012\u51cf\u6570\u5217\uff0c\u5e76\u89e3\u91ca\u6bcf\u79cd\u65b9\u6cd5\u7684\u4f18\u7f3a\u70b9\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528range()\u51fd\u6570<\/h3>\n<\/p>\n<p><p>Python\u7684<code>range()<\/code>\u51fd\u6570\u662f\u751f\u6210\u6570\u5217\u7684\u4e00\u4e2a\u975e\u5e38\u65b9\u4fbf\u7684\u5de5\u5177\u3002\u5c3d\u7ba1<code>range()<\/code>\u51fd\u6570\u901a\u5e38\u7528\u4e8e\u751f\u6210\u9012\u589e\u6570\u5217\uff0c\u4f46\u5b83\u4e5f\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e\u6b65\u957f\u4e3a\u8d1f\u6570\u6765\u751f\u6210\u9012\u51cf\u6570\u5217\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u793a\u4f8b\uff1a\u751f\u6210\u4ece10\u52301\u7684\u9012\u51cf\u6570\u5217<\/p>\n<p>decreasing_sequence = list(range(10, 0, -1))<\/p>\n<p>print(decreasing_sequence)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0c<code>range(10, 0, -1)<\/code>\u751f\u6210\u4e86\u4ece10\u52301\u7684\u9012\u51cf\u6570\u5217\uff0c\u5176\u4e2d<code>10<\/code>\u662f\u8d77\u59cb\u503c\uff0c<code>0<\/code>\u662f\u7ec8\u6b62\u503c\uff08\u4e0d\u5305\u62ec\uff09\uff0c<code>-1<\/code>\u662f\u6b65\u957f\u3002\u5c06\u751f\u6210\u7684<code>range<\/code>\u5bf9\u8c61\u8f6c\u6362\u4e3a\u5217\u8868\u540e\uff0c\u5f97\u5230\u7684\u7ed3\u679c\u662f\u4e00\u4e2a\u5305\u542b\u4ece10\u52301\u7684\u9012\u51cf\u6570\u5217\u3002<\/p>\n<\/p>\n<p><p><strong>\u4f18\u70b9\uff1a<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u7b80\u6d01\u660e\u4e86<\/li>\n<li>\u6267\u884c\u6548\u7387\u9ad8<\/li>\n<\/ul>\n<p><p><strong>\u7f3a\u70b9\uff1a<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u4ec5\u9002\u7528\u4e8e\u6574\u6570\u6570\u5217<\/li>\n<\/ul>\n<p><h3>\u4e8c\u3001\u4f7f\u7528\u5217\u8868\u63a8\u5bfc\u5f0f<\/h3>\n<\/p>\n<p><p>\u5217\u8868\u63a8\u5bfc\u5f0f\u662f\u4e00\u79cd\u975e\u5e38Pythonic\u7684\u65b9\u5f0f\uff0c\u53ef\u4ee5\u7528\u6765\u751f\u6210\u5217\u8868\u3002\u5b83\u4e0d\u4ec5\u7b80\u6d01\u6613\u8bfb\uff0c\u8fd8\u80fd\u751f\u6210\u590d\u6742\u7684\u6570\u5217\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u793a\u4f8b\uff1a\u751f\u6210\u4ece10\u52301\u7684\u9012\u51cf\u6570\u5217<\/p>\n<p>decreasing_sequence = [i for i in range(10, 0, -1)]<\/p>\n<p>print(decreasing_sequence)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0c\u5217\u8868\u63a8\u5bfc\u5f0f<code>[i for i in range(10, 0, -1)]<\/code>\u4e0e\u76f4\u63a5\u4f7f\u7528<code>range()<\/code>\u51fd\u6570\u751f\u6210\u9012\u51cf\u6570\u5217\u7684\u6548\u679c\u662f\u4e00\u6837\u7684\u3002<\/p>\n<\/p>\n<p><p><strong>\u4f18\u70b9\uff1a<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u7075\u6d3b\u6027\u9ad8<\/li>\n<li>\u53ef\u8bfb\u6027\u597d<\/li>\n<\/ul>\n<p><p><strong>\u7f3a\u70b9\uff1a<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u53ef\u80fd\u5728\u751f\u6210\u975e\u5e38\u5927\u7684\u6570\u5217\u65f6\u6027\u80fd\u4e0d\u5982<code>range()<\/code>\u51fd\u6570<\/li>\n<\/ul>\n<p><h3>\u4e09\u3001\u4f7f\u7528for\u5faa\u73af<\/h3>\n<\/p>\n<p><p>\u867d\u7136\u4f7f\u7528for\u5faa\u73af\u751f\u6210\u9012\u51cf\u6570\u5217\u53ef\u80fd\u663e\u5f97\u6709\u4e9b\u7e41\u7410\uff0c\u4f46\u5b83\u63d0\u4f9b\u4e86\u6700\u5927\u7684\u7075\u6d3b\u6027\u3002\u4f60\u53ef\u4ee5\u6839\u636e\u9700\u8981\u5b9a\u5236\u6570\u5217\u7684\u751f\u6210\u89c4\u5219\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u793a\u4f8b\uff1a\u751f\u6210\u4ece10\u52301\u7684\u9012\u51cf\u6570\u5217<\/p>\n<p>decreasing_sequence = []<\/p>\n<p>for i in range(10, 0, -1):<\/p>\n<p>    decreasing_sequence.append(i)<\/p>\n<p>print(decreasing_sequence)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0cfor\u5faa\u73af\u904d\u5386<code>range(10, 0, -1)<\/code>\uff0c\u5e76\u5c06\u6bcf\u4e2a\u503c\u6dfb\u52a0\u5230<code>decreasing_sequence<\/code>\u5217\u8868\u4e2d\u3002<\/p>\n<\/p>\n<p><p><strong>\u4f18\u70b9\uff1a<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u7075\u6d3b\u6027\u6700\u9ad8<\/li>\n<li>\u53ef\u4ee5\u5bb9\u6613\u5730\u8fdb\u884c\u590d\u6742\u7684\u6570\u5217\u751f\u6210<\/li>\n<\/ul>\n<p><p><strong>\u7f3a\u70b9\uff1a<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u4ee3\u7801\u8f83\u5197\u957f<\/li>\n<li>\u6027\u80fd\u53ef\u80fd\u4e0d\u5982\u524d\u4e24\u79cd\u65b9\u6cd5<\/li>\n<\/ul>\n<p><h3>\u56db\u3001\u4f7f\u7528\u9012\u5f52\u751f\u6210\u9012\u51cf\u6570\u5217<\/h3>\n<\/p>\n<p><p>\u9664\u4e86\u524d\u9762\u63d0\u5230\u7684\u65b9\u6cd5\uff0c\u9012\u5f52\u4e5f\u662f\u751f\u6210\u9012\u51cf\u6570\u5217\u7684\u4e00\u79cd\u65b9\u6cd5\u3002\u9012\u5f52\u65b9\u6cd5\u901a\u5e38\u7528\u4e8e\u66f4\u52a0\u590d\u6742\u7684\u903b\u8f91\uff0c\u4f46\u5728\u751f\u6210\u6570\u5217\u65f6\u4e5f\u53ef\u4ee5\u4f7f\u7528\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u793a\u4f8b\uff1a\u751f\u6210\u4ece10\u52301\u7684\u9012\u51cf\u6570\u5217<\/p>\n<p>def generate_decreasing_sequence(start, end):<\/p>\n<p>    if start &lt; end:<\/p>\n<p>        return []<\/p>\n<p>    else:<\/p>\n<p>        return [start] + generate_decreasing_sequence(start - 1, end)<\/p>\n<p>decreasing_sequence = generate_decreasing_sequence(10, 1)<\/p>\n<p>print(decreasing_sequence)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0c<code>generate_decreasing_sequence<\/code>\u51fd\u6570\u901a\u8fc7\u9012\u5f52\u8c03\u7528\u81ea\u8eab\u6765\u751f\u6210\u4ece<code>start<\/code>\u5230<code>end<\/code>\u7684\u9012\u51cf\u6570\u5217\u3002<\/p>\n<\/p>\n<p><p><strong>\u4f18\u70b9\uff1a<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u9012\u5f52\u65b9\u6cd5\u53ef\u4ee5\u975e\u5e38\u4f18\u96c5\u5730\u89e3\u51b3\u4e00\u4e9b\u590d\u6742\u95ee\u9898<\/li>\n<\/ul>\n<p><p><strong>\u7f3a\u70b9\uff1a<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u9012\u5f52\u6df1\u5ea6\u53d7\u9650\u4e8ePython\u7684\u9012\u5f52\u8c03\u7528\u6808\u5927\u5c0f<\/li>\n<li>\u53ef\u80fd\u4f1a\u5bfc\u81f4\u6808\u6ea2\u51fa\u9519\u8bef<\/li>\n<\/ul>\n<p><h3>\u4e94\u3001\u4f7f\u7528NumPy\u5e93<\/h3>\n<\/p>\n<p><p>NumPy\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u79d1\u5b66\u8ba1\u7b97\u5e93\uff0c\u5b83\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u6570\u7ec4\u64cd\u4f5c\u51fd\u6570\u3002\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528NumPy\u6765\u751f\u6210\u9012\u51cf\u6570\u5217\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u793a\u4f8b\uff1a\u751f\u6210\u4ece10\u52301\u7684\u9012\u51cf\u6570\u5217<\/p>\n<p>import numpy as np<\/p>\n<p>decreasing_sequence = np.arange(10, 0, -1)<\/p>\n<p>print(decreasing_sequence)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0c<code>np.arange(10, 0, -1)<\/code>\u751f\u6210\u4e86\u4e00\u4e2a\u5305\u542b\u4ece10\u52301\u7684NumPy\u6570\u7ec4\u3002<\/p>\n<\/p>\n<p><p><strong>\u4f18\u70b9\uff1a<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u9002\u7528\u4e8e\u5927\u89c4\u6a21\u6570\u5217\u7684\u751f\u6210<\/li>\n<li>\u63d0\u4f9b\u4e30\u5bcc\u7684\u6570\u7ec4\u64cd\u4f5c\u529f\u80fd<\/li>\n<\/ul>\n<p><p><strong>\u7f3a\u70b9\uff1a<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u9700\u8981\u5b89\u88c5NumPy\u5e93<\/li>\n<li>\u5bf9\u4e8e\u7b80\u5355\u7684\u6570\u5217\u751f\u6210\u53ef\u80fd\u663e\u5f97\u8fc7\u4e8e\u590d\u6742<\/li>\n<\/ul>\n<p><h3>\u516d\u3001\u4f7f\u7528itertools\u6a21\u5757<\/h3>\n<\/p>\n<p><p><code>itertools<\/code>\u6a21\u5757\u63d0\u4f9b\u4e86\u5f88\u591a\u7528\u4e8e\u64cd\u4f5c\u8fed\u4ee3\u5668\u7684\u51fd\u6570\u3002\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528<code>itertools.count<\/code>\u548c<code>itertools.takewhile<\/code>\u6765\u751f\u6210\u9012\u51cf\u6570\u5217\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u793a\u4f8b\uff1a\u751f\u6210\u4ece10\u52301\u7684\u9012\u51cf\u6570\u5217<\/p>\n<p>import itertools<\/p>\n<p>counter = itertools.count(10, -1)<\/p>\n<p>decreasing_sequence = list(itertools.takewhile(lambda x: x &gt; 0, counter))<\/p>\n<p>print(decreasing_sequence)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0c<code>itertools.count(10, -1)<\/code>\u521b\u5efa\u4e86\u4e00\u4e2a\u4ece10\u5f00\u59cb\uff0c\u6bcf\u6b21\u51cf\u5c111\u7684\u8fed\u4ee3\u5668\u3002<code>itertools.takewhile<\/code>\u51fd\u6570\u7528\u4e8e\u4ece\u8fed\u4ee3\u5668\u4e2d\u63d0\u53d6\u6ee1\u8db3\u6761\u4ef6\u7684\u5143\u7d20\u3002<\/p>\n<\/p>\n<p><p><strong>\u4f18\u70b9\uff1a<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u9002\u7528\u4e8e\u751f\u6210\u590d\u6742\u7684\u6570\u5217<\/li>\n<li>\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u8fed\u4ee3\u5668\u64cd\u4f5c\u51fd\u6570<\/li>\n<\/ul>\n<p><p><strong>\u7f3a\u70b9\uff1a<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u4ee3\u7801\u8f83\u4e3a\u590d\u6742<\/li>\n<li>\u5bf9\u4e8e\u7b80\u5355\u7684\u6570\u5217\u751f\u6210\u663e\u5f97\u8fc7\u4e8e\u7e41\u7410<\/li>\n<\/ul>\n<p><h3>\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u751f\u6210\u9012\u51cf\u6570\u5217\u7684\u65b9\u6cd5\u6709\u5f88\u591a\uff0c\u6bcf\u79cd\u65b9\u6cd5\u90fd\u6709\u5176\u4f18\u7f3a\u70b9\u3002\u5bf9\u4e8e\u7b80\u5355\u7684\u6574\u6570\u6570\u5217\uff0c\u53ef\u4ee5\u4f7f\u7528<code>range()<\/code>\u51fd\u6570\u6216\u5217\u8868\u63a8\u5bfc\u5f0f\uff1b\u5bf9\u4e8e\u9700\u8981\u66f4\u9ad8\u7075\u6d3b\u6027\u7684\u573a\u666f\uff0c\u53ef\u4ee5\u4f7f\u7528for\u5faa\u73af\u6216\u9012\u5f52\u65b9\u6cd5\uff1b\u5bf9\u4e8e\u5927\u89c4\u6a21\u6570\u5217\u751f\u6210\uff0c\u53ef\u4ee5\u4f7f\u7528NumPy\u5e93\uff1b\u5bf9\u4e8e\u590d\u6742\u7684\u8fed\u4ee3\u5668\u64cd\u4f5c\uff0c\u53ef\u4ee5\u4f7f\u7528<code>itertools<\/code>\u6a21\u5757\u3002\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u53ef\u4ee5\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u6267\u884c\u6548\u7387\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u4f7f\u7528Python\u751f\u6210\u9012\u51cf\u6570\u5217\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>range()<\/code>\u51fd\u6570\u751f\u6210\u9012\u51cf\u6570\u5217\u3002\u901a\u8fc7\u8bbe\u7f6e\u8d77\u59cb\u503c\u3001\u7ec8\u6b62\u503c\u548c\u6b65\u957f\uff0c\u53ef\u4ee5\u7075\u6d3b\u5730\u521b\u5efa\u6240\u9700\u7684\u6570\u5217\u3002\u4f8b\u5982\uff0c<code>list(range(10, 0, -1))<\/code>\u5c06\u751f\u6210\u4ece10\u52301\u7684\u9012\u51cf\u6570\u5217\u3002<\/p>\n<p><strong>\u9012\u51cf\u6570\u5217\u7684\u6b65\u957f\u53ef\u4ee5\u81ea\u5b9a\u4e49\u5417\uff1f<\/strong><br \/>\u662f\u7684\uff0c\u751f\u6210\u9012\u51cf\u6570\u5217\u65f6\uff0c\u6b65\u957f\u662f\u53ef\u4ee5\u81ea\u5b9a\u4e49\u7684\u3002\u4f60\u53ef\u4ee5\u5728<code>range()<\/code>\u51fd\u6570\u4e2d\u8bbe\u7f6e\u8d1f\u6570\u6b65\u957f\u3002\u4f8b\u5982\uff0c<code>list(range(10, 0, -2))<\/code>\u4f1a\u751f\u6210\u4ece10\u52301\u7684\u9012\u51cf\u6570\u5217\uff0c\u6b65\u957f\u4e3a2\uff0c\u5373[10, 8, 6, 4, 2]\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u5982\u4f55\u5c06\u9012\u51cf\u6570\u5217\u5b58\u50a8\u4e3a\u5217\u8868\uff1f<\/strong><br \/>\u4f7f\u7528<code>list()<\/code>\u51fd\u6570\u53ef\u4ee5\u5c06<code>range()<\/code>\u751f\u6210\u7684\u9012\u51cf\u6570\u5217\u8f6c\u6362\u4e3a\u5217\u8868\u3002\u6bd4\u5982\uff0c<code>decreasing_sequence = list(range(20, 0, -1))<\/code>\u5c06\u751f\u6210\u5e76\u5b58\u50a8\u4e00\u4e2a\u4ece20\u52301\u7684\u9012\u51cf\u6570\u5217\uff0c\u5b58\u50a8\u5728\u53d8\u91cf<code>decreasing_sequence<\/code>\u4e2d\u3002\u8fd9\u6837\uff0c\u4f60\u53ef\u4ee5\u65b9\u4fbf\u5730\u5bf9\u6570\u5217\u8fdb\u884c\u540e\u7eed\u5904\u7406\u6216\u64cd\u4f5c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u751f\u4ea7\u4e00\u4e2a\u9012\u51cf\u6570\u5217\u5728Python\u4e2d\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u5b9e\u73b0\uff0c\u5305\u62ec\u4f7f\u7528for\u5faa\u73af\u3001\u5217\u8868\u63a8\u5bfc\u5f0f\u3001\u4ee5\u53ca\u5185\u7f6e\u51fd\u6570range( [&hellip;]","protected":false},"author":3,"featured_media":1102872,"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\/1102859"}],"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=1102859"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1102859\/revisions"}],"predecessor-version":[{"id":1102875,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1102859\/revisions\/1102875"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1102872"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1102859"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1102859"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1102859"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}