{"id":1128285,"date":"2025-01-08T20:18:53","date_gmt":"2025-01-08T12:18:53","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1128285.html"},"modified":"2025-01-08T20:18:53","modified_gmt":"2025-01-08T12:18:53","slug":"%e5%9c%a8python%e4%b8%ad200%e4%b9%98%e4%ba%8e%e6%a0%b9%e5%8f%b7%e4%b8%89%e5%a6%82%e4%bd%95%e8%a1%a8%e7%a4%ba","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1128285.html","title":{"rendered":"\u5728python\u4e2d200\u4e58\u4e8e\u6839\u53f7\u4e09\u5982\u4f55\u8868\u793a"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25095031\/aacb3a7d-4e45-414b-bd5e-762d6751cf53.webp\" alt=\"\u5728python\u4e2d200\u4e58\u4e8e\u6839\u53f7\u4e09\u5982\u4f55\u8868\u793a\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\uff0c200\u4e58\u4ee5\u6839\u53f73\u7684\u8868\u793a\u65b9\u6cd5\u662f\u4f7f\u7528\u6570\u5b66\u5e93\uff08<code>math<\/code>\u6a21\u5757\uff09\u4e2d\u7684<code>sqrt<\/code>\u51fd\u6570\u3002\u5177\u4f53\u7684\u8868\u8fbe\u5f0f\u4e3a\uff1a<\/strong><\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import math<\/p>\n<p>result = 200 * math.sqrt(3)<\/p>\n<p>print(result)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u6bb5\u4ee3\u7801\u4e2d\uff0c\u9996\u5148\u5bfc\u5165\u4e86Python\u7684<code>math<\/code>\u5e93\uff0c\u7136\u540e\u4f7f\u7528<code>math.sqrt(3)<\/code>\u6765\u8ba1\u7b97\u6839\u53f73\uff0c\u518d\u4e58\u4ee5200\u5f97\u5230\u7ed3\u679c\u3002<code>math.sqrt<\/code>\u662fPython\u6807\u51c6\u5e93\u4e2d\u7684\u51fd\u6570\uff0c\u7528\u4e8e\u8ba1\u7b97\u4e00\u4e2a\u6570\u7684\u5e73\u65b9\u6839\u3002<\/p>\n<\/p>\n<p><p>\u4e3a\u4e86\u8fdb\u4e00\u6b65\u89e3\u91ca\u548c\u6269\u5c55\u8fd9\u4e2a\u4e3b\u9898\uff0c\u4ee5\u4e0b\u662f\u8be6\u7ec6\u4ecb\u7ecdPython\u4e2d\u4e0e\u6570\u5b66\u8fd0\u7b97\u76f8\u5173\u7684\u4e00\u4e9b\u5185\u5bb9\u3002<\/p>\n<\/p>\n<p><h2>\u4e00\u3001Python\u4e2d\u7684\u6570\u5b66\u8fd0\u7b97<\/h2>\n<\/p>\n<p><p>Python\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u6570\u5b66\u8fd0\u7b97\u529f\u80fd\uff0c\u9664\u4e86\u57fa\u672c\u7684\u52a0\u51cf\u4e58\u9664\uff0c\u8fd8\u5305\u62ec\u5e42\u8fd0\u7b97\u3001\u5bf9\u6570\u8fd0\u7b97\u3001\u4e09\u89d2\u51fd\u6570\u3001\u6307\u6570\u51fd\u6570\u7b49\u3002\u5927\u591a\u6570\u9ad8\u7ea7\u6570\u5b66\u8fd0\u7b97\u90fd\u53ef\u4ee5\u901a\u8fc7Python\u7684<code>math<\/code>\u6a21\u5757\u5b9e\u73b0\u3002<\/p>\n<\/p>\n<p><h3>1. \u57fa\u672c\u6570\u5b66\u8fd0\u7b97<\/h3>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u57fa\u672c\u7684\u6570\u5b66\u8fd0\u7b97\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\u8fd0\u7b97\u7b26\u6765\u5b9e\u73b0\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u52a0\u6cd5\uff1a<code>a + b<\/code><\/li>\n<li>\u51cf\u6cd5\uff1a<code>a - b<\/code><\/li>\n<li>\u4e58\u6cd5\uff1a<code>a * b<\/code><\/li>\n<li>\u9664\u6cd5\uff1a<code>a \/ b<\/code><\/li>\n<li>\u5e42\u8fd0\u7b97\uff1a<code>a  b<\/code>\uff08\u8868\u793aa\u7684b\u6b21\u65b9\uff09<\/li>\n<li>\u53d6\u4f59\u8fd0\u7b97\uff1a<code>a % b<\/code><\/li>\n<li>\u6574\u9664\u8fd0\u7b97\uff1a<code>a \/\/ b<\/code><\/li>\n<\/ul>\n<p><h3>2. \u4f7f\u7528<code>math<\/code>\u6a21\u5757<\/h3>\n<\/p>\n<p><p><code>math<\/code>\u6a21\u5757\u63d0\u4f9b\u4e86\u8bb8\u591a\u6709\u7528\u7684\u6570\u5b66\u51fd\u6570\uff0c\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\uff1a<\/p>\n<\/p>\n<ul>\n<li><code>math.sqrt(x)<\/code>\uff1a\u8fd4\u56dex\u7684\u5e73\u65b9\u6839<\/li>\n<li><code>math.pow(x, y)<\/code>\uff1a\u8fd4\u56dex\u7684y\u6b21\u65b9<\/li>\n<li><code>math.exp(x)<\/code>\uff1a\u8fd4\u56dee\u7684x\u6b21\u65b9<\/li>\n<li><code>math.log(x, base)<\/code>\uff1a\u8fd4\u56de\u4ee5base\u4e3a\u5e95x\u7684\u5bf9\u6570\uff08base\u9ed8\u8ba4\u4e3ae\uff09<\/li>\n<li><code>math.sin(x)<\/code>\u3001<code>math.cos(x)<\/code>\u3001<code>math.tan(x)<\/code>\uff1a\u5206\u522b\u8fd4\u56dex\u7684\u6b63\u5f26\u3001\u4f59\u5f26\u548c\u6b63\u5207\u503c<\/li>\n<\/ul>\n<p><h3>3. \u793a\u4f8b\u4ee3\u7801<\/h3>\n<\/p>\n<p><p>\u4ee5\u4e0b\u662f\u4e00\u4e9b\u4f7f\u7528<code>math<\/code>\u6a21\u5757\u7684\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import math<\/p>\n<h2><strong>\u8ba1\u7b97200\u4e58\u4ee5\u6839\u53f73<\/strong><\/h2>\n<p>result = 200 * math.sqrt(3)<\/p>\n<p>print(&quot;200\u4e58\u4ee5\u6839\u53f73\u7684\u7ed3\u679c\u662f\uff1a&quot;, result)<\/p>\n<h2><strong>\u8ba1\u7b972\u768410\u6b21\u65b9<\/strong><\/h2>\n<p>result = math.pow(2, 10)<\/p>\n<p>print(&quot;2\u768410\u6b21\u65b9\u662f\uff1a&quot;, result)<\/p>\n<h2><strong>\u8ba1\u7b97\u81ea\u7136\u5bf9\u6570e\u76842\u6b21\u65b9<\/strong><\/h2>\n<p>result = math.exp(2)<\/p>\n<p>print(&quot;e\u76842\u6b21\u65b9\u662f\uff1a&quot;, result)<\/p>\n<h2><strong>\u8ba1\u7b97\u81ea\u7136\u5bf9\u6570ln(10)<\/strong><\/h2>\n<p>result = math.log(10)<\/p>\n<p>print(&quot;ln(10)\u662f\uff1a&quot;, result)<\/p>\n<h2><strong>\u8ba1\u7b97\u4ee510\u4e3a\u5e95\u7684\u5bf9\u6570log10(100)<\/strong><\/h2>\n<p>result = math.log(100, 10)<\/p>\n<p>print(&quot;log10(100)\u662f\uff1a&quot;, result)<\/p>\n<h2><strong>\u8ba1\u7b97sin(\u03c0\/2)<\/strong><\/h2>\n<p>result = math.sin(math.pi \/ 2)<\/p>\n<p>print(&quot;sin(\u03c0\/2)\u662f\uff1a&quot;, result)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h2>\u4e8c\u3001Python\u4e2d\u7684\u5176\u4ed6\u6570\u5b66\u5e93<\/h2>\n<\/p>\n<p><p>\u9664\u4e86<code>math<\/code>\u6a21\u5757\uff0cPython\u4e2d\u8fd8\u6709\u5176\u4ed6\u4e00\u4e9b\u5f3a\u5927\u7684\u6570\u5b66\u5e93\uff0c\u6bd4\u5982<code>numpy<\/code>\u548c<code>sympy<\/code>\uff0c\u5b83\u4eec\u63d0\u4f9b\u4e86\u66f4\u591a\u9ad8\u7ea7\u7684\u6570\u5b66\u529f\u80fd\u3002<\/p>\n<\/p>\n<p><h3>1. NumPy<\/h3>\n<\/p>\n<p><p><code>NumPy<\/code>\u662f\u4e00\u4e2a\u7528\u4e8e\u79d1\u5b66\u8ba1\u7b97\u7684\u5e93\uff0c\u63d0\u4f9b\u4e86\u591a\u7ef4\u6570\u7ec4\u5bf9\u8c61\u548c\u5404\u79cd\u6570\u5b66\u51fd\u6570\u3002\u5b83\u5728\u6570\u503c\u8ba1\u7b97\u3001\u7ebf\u6027\u4ee3\u6570\u3001\u968f\u673a\u6570\u751f\u6210\u7b49\u65b9\u9762\u975e\u5e38\u5f3a\u5927\u3002<\/p>\n<\/p>\n<p><h4>\u4f7f\u7528NumPy\u8ba1\u7b97200\u4e58\u4ee5\u6839\u53f73<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\">import numpy as np<\/p>\n<p>result = 200 * np.sqrt(3)<\/p>\n<p>print(&quot;200\u4e58\u4ee5\u6839\u53f73\u7684\u7ed3\u679c\u662f\uff1a&quot;, result)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>2. SymPy<\/h3>\n<\/p>\n<p><p><code>SymPy<\/code>\u662f\u4e00\u4e2a\u7528\u4e8e\u7b26\u53f7\u6570\u5b66\u7684\u5e93\uff0c\u63d0\u4f9b\u4e86\u7b26\u53f7\u8ba1\u7b97\u3001\u516c\u5f0f\u7b80\u5316\u3001\u65b9\u7a0b\u6c42\u89e3\u7b49\u529f\u80fd\u3002<\/p>\n<\/p>\n<p><h4>\u4f7f\u7528SymPy\u8ba1\u7b97200\u4e58\u4ee5\u6839\u53f73<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\">import sympy as sp<\/p>\n<p>result = 200 * sp.sqrt(3)<\/p>\n<p>print(&quot;200\u4e58\u4ee5\u6839\u53f73\u7684\u7ed3\u679c\u662f\uff1a&quot;, result.evalf())  # \u4f7f\u7528evalf()\u8fdb\u884c\u6570\u503c\u5316<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h2>\u4e09\u3001\u6570\u5b66\u8fd0\u7b97\u4e2d\u7684\u6ce8\u610f\u4e8b\u9879<\/h2>\n<\/p>\n<p><h3>1. \u6d6e\u70b9\u6570\u7cbe\u5ea6<\/h3>\n<\/p>\n<p><p>\u5728\u8fdb\u884c\u6570\u5b66\u8fd0\u7b97\u65f6\uff0c\u7279\u522b\u662f\u6d89\u53ca\u6d6e\u70b9\u6570\u65f6\uff0c\u7cbe\u5ea6\u95ee\u9898\u662f\u9700\u8981\u6ce8\u610f\u7684\u3002\u6d6e\u70b9\u6570\u5728\u8ba1\u7b97\u673a\u4e2d\u4ee5\u6709\u9650\u7684\u7cbe\u5ea6\u8868\u793a\uff0c\u8fd9\u53ef\u80fd\u5bfc\u81f4\u67d0\u4e9b\u8fd0\u7b97\u7ed3\u679c\u4e0d\u5b8c\u5168\u51c6\u786e\u3002<\/p>\n<\/p>\n<p><h3>2. \u6570\u503c\u7a33\u5b9a\u6027<\/h3>\n<\/p>\n<p><p>\u5728\u8fdb\u884c\u590d\u6742\u7684\u6570\u5b66\u8fd0\u7b97\u65f6\uff0c\u6570\u503c\u7a33\u5b9a\u6027\u4e5f\u662f\u4e00\u4e2a\u91cd\u8981\u95ee\u9898\u3002\u4f8b\u5982\uff0c\u5728\u6c42\u89e3\u67d0\u4e9b\u65b9\u7a0b\u6216\u8fdb\u884c\u8fed\u4ee3\u8ba1\u7b97\u65f6\uff0c\u6570\u503c\u8bef\u5dee\u53ef\u80fd\u4f1a\u7d2f\u79ef\uff0c\u5bfc\u81f4\u7ed3\u679c\u4e0d\u51c6\u786e\u3002<\/p>\n<\/p>\n<p><h3>3. \u5927\u6570\u636e\u8ba1\u7b97<\/h3>\n<\/p>\n<p><p>\u5bf9\u4e8e\u5927\u89c4\u6a21\u6570\u636e\u7684\u6570\u5b66\u8fd0\u7b97\uff0c\u9009\u62e9\u5408\u9002\u7684\u7b97\u6cd5\u548c\u6570\u636e\u7ed3\u6784\u662f\u5173\u952e\u3002<code>NumPy<\/code>\u63d0\u4f9b\u4e86\u9ad8\u6548\u7684\u6570\u7ec4\u8fd0\u7b97\uff0c\u53ef\u4ee5\u5904\u7406\u5927\u89c4\u6a21\u6570\u636e\u3002<\/p>\n<\/p>\n<p><h2>\u56db\u3001Python\u5728\u79d1\u5b66\u8ba1\u7b97\u4e2d\u7684\u5e94\u7528<\/h2>\n<\/p>\n<p><p>Python\u5728\u79d1\u5b66\u8ba1\u7b97\u3001\u6570\u636e\u5206\u6790\u3001<a href=\"https:\/\/docs.pingcode.com\/ask\/59192.html\" target=\"_blank\">\u673a\u5668\u5b66\u4e60<\/a>\u7b49\u9886\u57df\u6709\u5e7f\u6cdb\u7684\u5e94\u7528\u3002\u5b83\u7684\u4e30\u5bcc\u7684\u5e93\u548c\u5de5\u5177\uff0c\u4f7f\u5f97\u5b83\u6210\u4e3a\u79d1\u5b66\u5bb6\u3001\u5de5\u7a0b\u5e08\u548c\u6570\u636e\u5206\u6790\u5e08\u7684\u9996\u9009\u7f16\u7a0b\u8bed\u8a00\u3002<\/p>\n<\/p>\n<p><h3>1. \u6570\u636e\u5206\u6790<\/h3>\n<\/p>\n<p><p><code>pandas<\/code>\u662f\u4e00\u4e2a\u7528\u4e8e\u6570\u636e\u5206\u6790\u7684\u5e93\uff0c\u63d0\u4f9b\u4e86\u9ad8\u6548\u7684\u6570\u636e\u64cd\u4f5c\u548c\u5206\u6790\u529f\u80fd\u3002\u5b83\u4e0e<code>NumPy<\/code>\u7ed3\u5408\uff0c\u53ef\u4ee5\u5904\u7406\u5927\u89c4\u6a21\u6570\u636e\u3002<\/p>\n<\/p>\n<p><h3>2. \u673a\u5668\u5b66\u4e60<\/h3>\n<\/p>\n<p><p><code>scikit-learn<\/code>\u662f\u4e00\u4e2a\u7528\u4e8e\u673a\u5668\u5b66\u4e60\u7684\u5e93\uff0c\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u673a\u5668\u5b66\u4e60\u7b97\u6cd5\u548c\u5de5\u5177\u3002\u5b83\u4e0e<code>NumPy<\/code>\u548c<code>pandas<\/code>\u7ed3\u5408\uff0c\u53ef\u4ee5\u8fdb\u884c\u6570\u636e\u9884\u5904\u7406\u3001\u6a21\u578b\u8bad\u7ec3\u548c\u8bc4\u4f30\u3002<\/p>\n<\/p>\n<p><h3>3. \u79d1\u5b66\u8ba1\u7b97<\/h3>\n<\/p>\n<p><p><code>SciPy<\/code>\u662f\u4e00\u4e2a\u7528\u4e8e\u79d1\u5b66\u8ba1\u7b97\u7684\u5e93\uff0c\u63d0\u4f9b\u4e86\u6570\u503c\u79ef\u5206\u3001\u4f18\u5316\u3001\u4fe1\u53f7\u5904\u7406\u7b49\u529f\u80fd\u3002\u5b83\u57fa\u4e8e<code>NumPy<\/code>\uff0c\u63d0\u4f9b\u4e86\u66f4\u591a\u9ad8\u7ea7\u7684\u6570\u5b66\u51fd\u6570\u3002<\/p>\n<\/p>\n<p><h3>4. \u53ef\u89c6\u5316<\/h3>\n<\/p>\n<p><p><code>matplotlib<\/code>\u662f\u4e00\u4e2a\u7528\u4e8e\u6570\u636e\u53ef\u89c6\u5316\u7684\u5e93\uff0c\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u7ed8\u56fe\u529f\u80fd\u3002\u5b83\u53ef\u4ee5\u4e0e<code>NumPy<\/code>\u548c<code>pandas<\/code>\u7ed3\u5408\uff0c\u8fdb\u884c\u6570\u636e\u7684\u53ef\u89c6\u5316\u5c55\u793a\u3002<\/p>\n<\/p>\n<p><h2>\u603b\u7ed3<\/h2>\n<\/p>\n<p><p><strong>\u5728Python\u4e2d\uff0c200\u4e58\u4ee5\u6839\u53f73\u53ef\u4ee5\u901a\u8fc7<code>math.sqrt<\/code>\u51fd\u6570\u6765\u5b9e\u73b0<\/strong>\u3002\u9664\u4e86<code>math<\/code>\u6a21\u5757\uff0cPython\u8fd8\u6709\u5176\u4ed6\u5f3a\u5927\u7684\u6570\u5b66\u5e93\uff0c\u5982<code>NumPy<\/code>\u548c<code>SymPy<\/code>\uff0c\u63d0\u4f9b\u4e86\u66f4\u591a\u9ad8\u7ea7\u7684\u6570\u5b66\u529f\u80fd\u3002\u5728\u8fdb\u884c\u6570\u5b66\u8fd0\u7b97\u65f6\uff0c\u9700\u8981\u6ce8\u610f\u6d6e\u70b9\u6570\u7cbe\u5ea6\u3001\u6570\u503c\u7a33\u5b9a\u6027\u7b49\u95ee\u9898\u3002Python\u5728\u79d1\u5b66\u8ba1\u7b97\u3001\u6570\u636e\u5206\u6790\u3001\u673a\u5668\u5b66\u4e60\u7b49\u9886\u57df\u6709\u5e7f\u6cdb\u7684\u5e94\u7528\uff0c\u5176\u4e30\u5bcc\u7684\u5e93\u548c\u5de5\u5177\uff0c\u4f7f\u5f97\u5b83\u6210\u4e3a\u79d1\u5b66\u5bb6\u3001\u5de5\u7a0b\u5e08\u548c\u6570\u636e\u5206\u6790\u5e08\u7684\u9996\u9009\u7f16\u7a0b\u8bed\u8a00\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u8ba1\u7b97200\u4e58\u4ee5\u6839\u53f7\u4e09\u7684\u503c\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528<code>math<\/code>\u5e93\u6765\u8fdb\u884c\u6b64\u7c7b\u8ba1\u7b97\u3002\u9996\u5148\uff0c\u5bfc\u5165<code>math<\/code>\u5e93\uff0c\u7136\u540e\u4f7f\u7528<code>math.sqrt()<\/code>\u51fd\u6570\u8ba1\u7b97\u6839\u53f7\u4e09\uff0c\u6700\u540e\u5c06\u7ed3\u679c\u4e0e200\u76f8\u4e58\u3002\u793a\u4f8b\u4ee3\u7801\u5982\u4e0b\uff1a  <\/p>\n<pre><code class=\"language-python\">import math\n\nresult = 200 * math.sqrt(3)\nprint(result)\n<\/code><\/pre>\n<p><strong>\u5728Python\u4e2d\uff0c\u5982\u4f55\u5f97\u5230\u6839\u53f7\u4e09\u7684\u8fd1\u4f3c\u503c\uff1f<\/strong><br \/>\u6839\u53f7\u4e09\u7684\u8fd1\u4f3c\u503c\u53ef\u4ee5\u901a\u8fc7<code>math.sqrt()<\/code>\u51fd\u6570\u83b7\u5f97\u3002\u4f60\u53ef\u4ee5\u5c063\u4f5c\u4e3a\u53c2\u6570\u4f20\u5165\u8be5\u51fd\u6570\uff0c\u4f8b\u5982\uff1a  <\/p>\n<pre><code class=\"language-python\">import math\n\nsqrt_three = math.sqrt(3)\nprint(sqrt_three)\n<\/code><\/pre>\n<p>\u8fd9\u5c06\u8f93\u51fa\u6839\u53f7\u4e09\u7684\u8fd1\u4f3c\u503c\uff0c\u7ea6\u4e3a1.732\u3002<\/p>\n<p><strong>\u4f7f\u7528Python\u8ba1\u7b97200\u4e58\u4ee5\u6839\u53f7\u4e09\u65f6\u5982\u4f55\u5904\u7406\u5c0f\u6570\uff1f<\/strong><br \/>Python\u5728\u8fdb\u884c\u6d6e\u70b9\u6570\u8ba1\u7b97\u65f6\u4f1a\u81ea\u52a8\u5904\u7406\u5c0f\u6570\uff0c\u56e0\u6b64\u8ba1\u7b97200\u4e58\u4ee5\u6839\u53f7\u4e09\u7684\u7ed3\u679c\u4f1a\u662f\u4e00\u4e2a\u6d6e\u70b9\u6570\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528\u683c\u5f0f\u5316\u8f93\u51fa\u63a7\u5236\u5c0f\u6570\u7684\u4f4d\u6570\uff0c\u4f8b\u5982\uff1a  <\/p>\n<pre><code class=\"language-python\">import math\n\nresult = 200 * math.sqrt(3)\nprint(f&quot;\u7ed3\u679c\u662f\uff1a{result:.2f}&quot;)  # \u4fdd\u7559\u4e24\u4f4d\u5c0f\u6570\n<\/code><\/pre>\n<p>\u8fd9\u5c06\u8f93\u51fa\u7ed3\u679c\uff0c\u4fdd\u7559\u4e24\u4f4d\u5c0f\u6570\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\uff0c200\u4e58\u4ee5\u6839\u53f73\u7684\u8868\u793a\u65b9\u6cd5\u662f\u4f7f\u7528\u6570\u5b66\u5e93\uff08math\u6a21\u5757\uff09\u4e2d\u7684sqrt\u51fd\u6570\u3002\u5177\u4f53\u7684\u8868\u8fbe\u5f0f\u4e3a\uff1a i [&hellip;]","protected":false},"author":3,"featured_media":0,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1128285"}],"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=1128285"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1128285\/revisions"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1128285"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1128285"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1128285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}