{"id":1009397,"date":"2024-12-27T11:11:26","date_gmt":"2024-12-27T03:11:26","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1009397.html"},"modified":"2024-12-27T11:11:30","modified_gmt":"2024-12-27T03:11:30","slug":"%e5%a6%82%e4%bd%95%e7%bc%96%e5%86%99python%e7%a8%8b%e5%ba%8f%e8%ae%a1%e7%ae%97","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1009397.html","title":{"rendered":"\u5982\u4f55\u7f16\u5199python\u7a0b\u5e8f\u8ba1\u7b97"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25084336\/36db2af0-50e0-467e-b3b0-c2bc67cd1143.webp\" alt=\"\u5982\u4f55\u7f16\u5199python\u7a0b\u5e8f\u8ba1\u7b97\" \/><\/p>\n<p><p> <strong>\u8981\u7f16\u5199Python\u7a0b\u5e8f\u8fdb\u884c\u8ba1\u7b97\uff0c\u9996\u5148\u9700\u8981\u4e86\u89e3Python\u7684\u57fa\u7840\u8bed\u6cd5\u3001\u719f\u6089Python\u7684\u6570\u636e\u7c7b\u578b\u3001\u638c\u63e1\u5e38\u7528\u7684\u6570\u5b66\u64cd\u4f5c\u5e93\u5982math\u548cnumpy\u3001\u4f7f\u7528\u51fd\u6570\u8fdb\u884c\u6a21\u5757\u5316\u7f16\u7a0b\u3001\u6ce8\u91cd\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u3002\u638c\u63e1\u8fd9\u4e9b\u77e5\u8bc6\u540e\uff0c\u5c31\u53ef\u4ee5\u7528Python\u7f16\u5199\u5404\u79cd\u8ba1\u7b97\u7a0b\u5e8f\u3002\u4ee5\u4e0b\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528Python\u8fdb\u884c\u8ba1\u7b97\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u4e00\u3001PYTHON\u57fa\u7840\u8bed\u6cd5<\/p>\n<\/p>\n<p><p>\u5728\u7f16\u5199Python\u7a0b\u5e8f\u4e4b\u524d\uff0c\u4e86\u89e3Python\u7684\u57fa\u672c\u8bed\u6cd5\u662f\u81f3\u5173\u91cd\u8981\u7684\u3002Python\u662f\u4e00\u79cd\u89e3\u91ca\u578b\u8bed\u8a00\uff0c\u4ee3\u7801\u6309\u884c\u6267\u884c\uff0c\u56e0\u6b64\u9700\u8981\u6ce8\u610f\u7f29\u8fdb\u548c\u8bed\u53e5\u7684\u4e66\u5199\u3002Python\u4f7f\u7528\u7f29\u8fdb\u6765\u5b9a\u4e49\u4ee3\u7801\u5757\uff0c\u901a\u5e38\u4e3a\u56db\u4e2a\u7a7a\u683c\u6216\u4e00\u4e2a\u5236\u8868\u7b26\u3002<\/p>\n<\/p>\n<p><p>\u9996\u5148\uff0cPython\u652f\u6301\u4e0d\u540c\u7684\u6570\u636e\u7c7b\u578b\uff0c\u5305\u62ec\u6574\u6570\u3001\u6d6e\u70b9\u6570\u3001\u5b57\u7b26\u4e32\u3001\u5217\u8868\u3001\u5143\u7ec4\u548c\u5b57\u5178\u7b49\u3002\u5728\u8fdb\u884c\u8ba1\u7b97\u65f6\uff0c\u6574\u6570\u548c\u6d6e\u70b9\u6570\u662f\u6700\u5e38\u7528\u7684\u7c7b\u578b\u3002Python\u5185\u7f6e\u652f\u6301\u57fa\u672c\u7684\u6570\u5b66\u8fd0\u7b97\u5982\u52a0\u3001\u51cf\u3001\u4e58\u3001\u9664\u3001\u53d6\u4f59\u7b49\u3002<\/p>\n<\/p>\n<p><p>Python\u7684\u53d8\u91cf\u4e0d\u9700\u8981\u663e\u5f0f\u58f0\u660e\u7c7b\u578b\uff0c\u4f7f\u7528\u65f6\u76f4\u63a5\u8d4b\u503c\u5373\u53ef\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">a = 5<\/p>\n<p>b = 3.5<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>Python\u63d0\u4f9b\u4e86if-else\u6761\u4ef6\u8bed\u53e5\u548cfor\u3001while\u5faa\u73af\u8bed\u53e5\u7528\u4e8e\u63a7\u5236\u7a0b\u5e8f\u6d41\u7a0b\uff0c\u903b\u8f91\u8fd0\u7b97\u7b26\u5305\u62ecand\u3001or\u3001not\u7b49\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u6570\u5b66\u64cd\u4f5c\u5e93<\/p>\n<\/p>\n<p><p>Python\u63d0\u4f9b\u4e86\u4e00\u4e9b\u5f3a\u5927\u7684\u5e93\u6765\u5904\u7406\u590d\u6742\u7684\u6570\u5b66\u8ba1\u7b97\uff0c<strong>\u5176\u4e2d\u6700\u5e38\u7528\u7684\u662fmath\u5e93\u548cnumpy\u5e93<\/strong>\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>math\u5e93<\/strong><\/li>\n<\/ol>\n<p><p>math\u5e93\u662fPython\u7684\u6807\u51c6\u5e93\uff0c\u63d0\u4f9b\u4e86\u8bb8\u591a\u6570\u5b66\u51fd\u6570\u548c\u5e38\u91cf\uff0c\u5982pi\u3001e\u3001sqrt\u3001sin\u3001cos\u3001tan\u7b49\u3002\u4f7f\u7528math\u5e93\u53ef\u4ee5\u65b9\u4fbf\u5730\u8fdb\u884c\u5404\u79cd\u6570\u5b66\u8ba1\u7b97\u3002<\/p>\n<\/p>\n<p><p>\u4f8b\u5982\uff0c\u8ba1\u7b97\u4e00\u4e2a\u6570\u7684\u5e73\u65b9\u6839\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import math<\/p>\n<p>result = math.sqrt(16)<\/p>\n<p>print(result)  # \u8f93\u51fa4.0<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li><strong>numpy\u5e93<\/strong><\/li>\n<\/ol>\n<p><p>numpy\u662f\u4e00\u4e2a\u7528\u4e8e\u79d1\u5b66\u8ba1\u7b97\u7684\u7b2c\u4e09\u65b9\u5e93\uff0c\u63d0\u4f9b\u4e86\u652f\u6301\u591a\u7ef4\u6570\u7ec4\u548c\u77e9\u9635\u8fd0\u7b97\u7684\u5f3a\u5927\u529f\u80fd\u3002\u901a\u8fc7numpy\uff0c\u53ef\u4ee5\u9ad8\u6548\u5730\u6267\u884c\u5927\u89c4\u6a21\u7684\u6570\u503c\u8ba1\u7b97\u3002<\/p>\n<\/p>\n<p><p>\u4f8b\u5982\uff0c\u4f7f\u7528numpy\u8ba1\u7b97\u5411\u91cf\u7684\u70b9\u79ef\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import numpy as np<\/p>\n<p>vector1 = np.array([1, 2, 3])<\/p>\n<p>vector2 = np.array([4, 5, 6])<\/p>\n<p>dot_product = np.dot(vector1, vector2)<\/p>\n<p>print(dot_product)  # \u8f93\u51fa32<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e09\u3001\u4f7f\u7528\u51fd\u6570\u8fdb\u884c\u6a21\u5757\u5316\u7f16\u7a0b<\/p>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u51fd\u6570\u662f\u7ec4\u7ec7\u4ee3\u7801\u7684\u57fa\u672c\u5355\u5143\u3002\u901a\u8fc7\u5b9a\u4e49\u51fd\u6570\uff0c\u53ef\u4ee5\u5c06\u4ee3\u7801\u6a21\u5757\u5316\uff0c\u4fbf\u4e8e\u590d\u7528\u548c\u7ef4\u62a4\u3002<\/p>\n<\/p>\n<p><p>\u5b9a\u4e49\u4e00\u4e2a\u51fd\u6570\u9700\u8981\u4f7f\u7528def\u5173\u952e\u5b57\uff0c\u51fd\u6570\u53ef\u4ee5\u63a5\u53d7\u53c2\u6570\u5e76\u8fd4\u56de\u503c\u3002\u4f8b\u5982\uff0c\u8ba1\u7b97\u4e24\u4e2a\u6570\u7684\u548c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def add_numbers(x, y):<\/p>\n<p>    return x + y<\/p>\n<p>result = add_numbers(5, 3)<\/p>\n<p>print(result)  # \u8f93\u51fa8<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4f7f\u7528\u51fd\u6570\u7f16\u5199\u8ba1\u7b97\u7a0b\u5e8f\u53ef\u4ee5\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u53ef\u7ef4\u62a4\u6027\uff0c\u5c24\u5176\u662f\u5728\u5904\u7406\u590d\u6742\u8ba1\u7b97\u65f6\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001\u6ce8\u91cd\u4ee3\u7801\u7684\u53ef\u8bfb\u6027<\/p>\n<\/p>\n<p><p>\u5728\u7f16\u5199\u8ba1\u7b97\u7a0b\u5e8f\u65f6\uff0c\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u662f\u975e\u5e38\u91cd\u8981\u7684\u3002<strong>\u597d\u7684\u4ee3\u7801\u4e0d\u4ec5\u9700\u8981\u6b63\u786e\u548c\u9ad8\u6548\u5730\u6267\u884c\u4efb\u52a1\uff0c\u8fd8\u5e94\u8be5\u6613\u4e8e\u7406\u89e3\u548c\u7ef4\u62a4\u3002<\/strong><\/p>\n<\/p>\n<ol>\n<li><strong>\u547d\u540d\u89c4\u8303<\/strong><\/li>\n<\/ol>\n<p><p>\u4f7f\u7528\u6709\u610f\u4e49\u7684\u53d8\u91cf\u540d\u548c\u51fd\u6570\u540d\u53ef\u4ee5\u5e2e\u52a9\u7406\u89e3\u4ee3\u7801\u7684\u610f\u56fe\u3002\u4f8b\u5982\uff0c\u4f7f\u7528sum\u3001average\u7b49\u63cf\u8ff0\u6027\u540d\u79f0\u6bd4a\u3001b\u7b49\u66f4\u5177\u53ef\u8bfb\u6027\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u6ce8\u91ca<\/strong><\/li>\n<\/ol>\n<p><p>\u9002\u5f53\u5730\u6dfb\u52a0\u6ce8\u91ca\u53ef\u4ee5\u5e2e\u52a9\u89e3\u91ca\u4ee3\u7801\u7684\u903b\u8f91\uff0c\u7279\u522b\u662f\u5728\u590d\u6742\u7684\u8ba1\u7b97\u6216\u7b97\u6cd5\u4e2d\u3002\u6ce8\u91ca\u4e0d\u5e94\u8fc7\u591a\uff0c\u907f\u514d\u5e72\u6270\u4ee3\u7801\u7684\u9605\u8bfb\u3002<\/p>\n<\/p>\n<ol start=\"3\">\n<li><strong>\u4ee3\u7801\u7ed3\u6784<\/strong><\/li>\n<\/ol>\n<p><p>\u826f\u597d\u7684\u4ee3\u7801\u7ed3\u6784\u5305\u62ec\u5408\u7406\u7684\u7f29\u8fdb\u3001\u9002\u5f53\u7684\u7a7a\u884c\u3001\u6a21\u5757\u5316\u7684\u51fd\u6570\u8bbe\u8ba1\u7b49\u3002\u8fd9\u4e9b\u90fd\u53ef\u4ee5\u5e2e\u52a9\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u3002<\/p>\n<\/p>\n<p><p>\u4e94\u3001\u5e94\u7528\u5b9e\u4f8b<\/p>\n<\/p>\n<p><p>\u4e3a\u4e86\u66f4\u597d\u5730\u7406\u89e3\u5982\u4f55\u7f16\u5199Python\u7a0b\u5e8f\u8fdb\u884c\u8ba1\u7b97\uff0c\u4e0b\u9762\u5c06\u4ecb\u7ecd\u4e00\u4e2a\u5b8c\u6574\u7684\u5e94\u7528\u5b9e\u4f8b\uff1a\u7f16\u5199\u4e00\u4e2a\u8ba1\u7b97\u5706\u9762\u79ef\u548c\u5468\u957f\u7684\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import math<\/p>\n<p>def calculate_circle_area(radius):<\/p>\n<p>    &quot;&quot;&quot;\u8ba1\u7b97\u5706\u7684\u9762\u79ef&quot;&quot;&quot;<\/p>\n<p>    return math.pi * radius * radius<\/p>\n<p>def calculate_circle_circumference(radius):<\/p>\n<p>    &quot;&quot;&quot;\u8ba1\u7b97\u5706\u7684\u5468\u957f&quot;&quot;&quot;<\/p>\n<p>    return 2 * math.pi * radius<\/p>\n<p>def m<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>n():<\/p>\n<p>    radius = float(input(&quot;\u8bf7\u8f93\u5165\u5706\u7684\u534a\u5f84\uff1a&quot;))<\/p>\n<p>    area = calculate_circle_area(radius)<\/p>\n<p>    circumference = calculate_circle_circumference(radius)<\/p>\n<p>    print(f&quot;\u534a\u5f84\u4e3a{radius}\u7684\u5706\u7684\u9762\u79ef\u662f\uff1a{area:.2f}&quot;)<\/p>\n<p>    print(f&quot;\u534a\u5f84\u4e3a{radius}\u7684\u5706\u7684\u5468\u957f\u662f\uff1a{circumference:.2f}&quot;)<\/p>\n<p>if __name__ == &quot;__main__&quot;:<\/p>\n<p>    main()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u5b9a\u4e49\u4e86\u4e24\u4e2a\u51fd\u6570\u7528\u4e8e\u8ba1\u7b97\u5706\u7684\u9762\u79ef\u548c\u5468\u957f\uff0c\u5e76\u5728main\u51fd\u6570\u4e2d\u8c03\u7528\u8fd9\u4e9b\u51fd\u6570\u3002\u901a\u8fc7\u8fd9\u79cd\u65b9\u5f0f\uff0c\u6211\u4eec\u5c06\u8ba1\u7b97\u903b\u8f91\u4e0e\u8f93\u5165\u8f93\u51fa\u5206\u79bb\uff0c\u63d0\u9ad8\u4e86\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u53ef\u7ef4\u62a4\u6027\u3002<\/p>\n<\/p>\n<p><p>\u603b\u7ed3\uff0c\u7f16\u5199Python\u7a0b\u5e8f\u8fdb\u884c\u8ba1\u7b97\u9700\u8981\u638c\u63e1Python\u7684\u57fa\u7840\u8bed\u6cd5\u3001\u6570\u5b66\u64cd\u4f5c\u5e93\u7684\u4f7f\u7528\u3001\u51fd\u6570\u7684\u5b9a\u4e49\u548c\u8c03\u7528\u3001\u4ee5\u53ca\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u7b49\u65b9\u9762\u7684\u77e5\u8bc6\u3002\u901a\u8fc7\u5b9e\u8df5\u548c\u4e0d\u65ad\u5b66\u4e60\uff0c\u53ef\u4ee5\u7f16\u5199\u51fa\u9ad8\u6548\u3001\u53ef\u7ef4\u62a4\u7684\u8ba1\u7b97\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5f00\u59cb\u5b66\u4e60Python\u7f16\u7a0b\u4ee5\u4fbf\u8fdb\u884c\u8ba1\u7b97\uff1f<\/strong><br \/>\u5b66\u4e60Python\u7f16\u7a0b\u7684\u7b2c\u4e00\u6b65\u662f\u638c\u63e1\u57fa\u672c\u8bed\u6cd5\u548c\u6570\u636e\u7c7b\u578b\u3002\u53ef\u4ee5\u4ece\u5728\u7ebf\u8bfe\u7a0b\u3001\u6559\u7a0b\u6216\u4e66\u7c4d\u5165\u624b\uff0c\u63a8\u8350\u4f7f\u7528\u4ea4\u4e92\u5f0f\u7f16\u7a0b\u73af\u5883\uff0c\u4f8b\u5982Jupyter Notebook\u6216Google Colab\uff0c\u8fd9\u6837\u53ef\u4ee5\u65b9\u4fbf\u5730\u8fdb\u884c\u5b9e\u65f6\u8ba1\u7b97\u548c\u8c03\u8bd5\u3002\u4e86\u89e3\u57fa\u672c\u7684\u7b97\u672f\u8fd0\u7b97\u3001\u53d8\u91cf\u5b9a\u4e49\u3001\u63a7\u5236\u7ed3\u6784\uff08\u5982if\u8bed\u53e5\u548c\u5faa\u73af\uff09\u662f\u5fc5\u8981\u7684\u57fa\u7840\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u8fdb\u884c\u590d\u6742\u8ba1\u7b97\u65f6\uff0c\u6709\u54ea\u4e9b\u5e38\u7528\u5e93\u53ef\u4ee5\u4f7f\u7528\uff1f<\/strong><br \/>Python\u62e5\u6709\u4e30\u5bcc\u7684\u5e93\u53ef\u4ee5\u5e2e\u52a9\u8fdb\u884c\u590d\u6742\u8ba1\u7b97\u3002\u6bd4\u5982\uff0cNumPy\u662f\u5904\u7406\u6570\u7ec4\u548c\u77e9\u9635\u8ba1\u7b97\u7684\u9996\u9009\u5e93\uff0cPandas\u4e13\u6ce8\u4e8e\u6570\u636e\u5206\u6790\u548c\u5904\u7406\uff0c\u800cSciPy\u5219\u63d0\u4f9b\u4e86\u591a\u79cd\u79d1\u5b66\u8ba1\u7b97\u529f\u80fd\u3002\u6b64\u5916\uff0cMatplotlib\u548cSeaborn\u53ef\u4ee5\u7528\u4e8e\u6570\u636e\u53ef\u89c6\u5316\uff0c\u5e2e\u52a9\u7528\u6237\u66f4\u76f4\u89c2\u5730\u7406\u89e3\u8ba1\u7b97\u7ed3\u679c\u3002<\/p>\n<p><strong>\u5982\u4f55\u4f18\u5316Python\u7a0b\u5e8f\u7684\u8ba1\u7b97\u6027\u80fd\uff1f<\/strong><br \/>\u4e3a\u4e86\u4f18\u5316Python\u7a0b\u5e8f\u7684\u8ba1\u7b97\u6027\u80fd\uff0c\u53ef\u4ee5\u8003\u8651\u4ee5\u4e0b\u51e0\u4e2a\u65b9\u9762\uff1a\u4f7f\u7528\u5217\u8868\u63a8\u5bfc\u5f0f\u66ff\u4ee3\u4f20\u7edf\u5faa\u73af\u3001\u5229\u7528\u5185\u7f6e\u51fd\u6570\u548c\u5e93\u6765\u51cf\u5c11\u4ee3\u7801\u6267\u884c\u65f6\u95f4\u3001\u907f\u514d\u4e0d\u5fc5\u8981\u7684\u6570\u636e\u590d\u5236\u3001\u4ee5\u53ca\u4f7f\u7528\u591a\u7ebf\u7a0b\u6216\u591a\u8fdb\u7a0b\u6765\u5e76\u884c\u5904\u7406\u4efb\u52a1\u3002\u540c\u65f6\uff0c\u5b9a\u671f\u5206\u6790\u4ee3\u7801\u6027\u80fd\uff0c\u8bc6\u522b\u74f6\u9888\u5e76\u52a0\u4ee5\u6539\u8fdb\uff0c\u4e5f\u662f\u63d0\u9ad8\u8ba1\u7b97\u6548\u7387\u7684\u91cd\u8981\u6b65\u9aa4\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u7f16\u5199Python\u7a0b\u5e8f\u8fdb\u884c\u8ba1\u7b97\uff0c\u9996\u5148\u9700\u8981\u4e86\u89e3Python\u7684\u57fa\u7840\u8bed\u6cd5\u3001\u719f\u6089Python\u7684\u6570\u636e\u7c7b\u578b\u3001\u638c\u63e1\u5e38\u7528\u7684\u6570\u5b66 [&hellip;]","protected":false},"author":3,"featured_media":1009411,"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\/1009397"}],"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=1009397"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1009397\/revisions"}],"predecessor-version":[{"id":1009415,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1009397\/revisions\/1009415"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1009411"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1009397"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1009397"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1009397"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}