{"id":1127177,"date":"2025-01-08T20:07:58","date_gmt":"2025-01-08T12:07:58","guid":{"rendered":""},"modified":"2025-01-08T20:08:00","modified_gmt":"2025-01-08T12:08:00","slug":"python%e4%b8%ad%e7%9a%84%e5%a6%82%e4%bd%95%e5%86%99%e4%b8%a4%e4%b8%aa%e6%95%b0%e7%9b%b8%e4%b9%98","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1127177.html","title":{"rendered":"python\u4e2d\u7684\u5982\u4f55\u5199\u4e24\u4e2a\u6570\u76f8\u4e58"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25094251\/ae7fc73e-1bca-4ae2-95c5-3d38e4ae15ef.webp\" alt=\"python\u4e2d\u7684\u5982\u4f55\u5199\u4e24\u4e2a\u6570\u76f8\u4e58\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\uff0c\u6709\u591a\u79cd\u65b9\u6cd5\u53ef\u4ee5\u5b9e\u73b0\u4e24\u4e2a\u6570\u76f8\u4e58\uff0c\u5305\u62ec\u4f7f\u7528\u7b80\u5355\u7684\u4e58\u6cd5\u8fd0\u7b97\u7b26\u3001\u5b9a\u4e49\u51fd\u6570\u3001\u4f7f\u7528lambda\u8868\u8fbe\u5f0f\u7b49<\/strong>\u3002\u5176\u4e2d\uff0c\u6700\u5e38\u89c1\u548c\u6700\u76f4\u63a5\u7684\u65b9\u6cd5\u662f\u4f7f\u7528\u4e58\u6cd5\u8fd0\u7b97\u7b26 <code>*<\/code>\u3002\u53e6\u5916\uff0c\u8fd8\u53ef\u4ee5\u901a\u8fc7\u5b9a\u4e49\u4e00\u4e2a\u51fd\u6570\u6765\u5c01\u88c5\u4e58\u6cd5\u64cd\u4f5c\uff0c\u6216\u8005\u4f7f\u7528 <code>lambda<\/code> \u8868\u8fbe\u5f0f\u6765\u5b9e\u73b0\u3002\u8fd9\u4e9b\u65b9\u6cd5\u4e0d\u4ec5\u53ef\u4ee5\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\uff0c\u8fd8\u53ef\u4ee5\u5728\u9700\u8981\u65f6\u8fdb\u884c\u590d\u7528\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u5e76\u63a2\u8ba8\u5176\u5e94\u7528\u573a\u666f\u548c\u4f18\u7f3a\u70b9\u3002<\/p>\n<\/p>\n<p><h2>\u4e00\u3001\u4f7f\u7528\u4e58\u6cd5\u8fd0\u7b97\u7b26<\/h2>\n<\/p>\n<p><h3>1.1 \u57fa\u672c\u4e58\u6cd5\u8fd0\u7b97<\/h3>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u6700\u76f4\u63a5\u7684\u65b9\u6cd5\u662f\u4f7f\u7528\u4e58\u6cd5\u8fd0\u7b97\u7b26 <code>*<\/code>\u3002\u8fd9\u662f\u6700\u7b80\u5355\u4e5f\u662f\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">a = 5<\/p>\n<p>b = 3<\/p>\n<p>result = a * b<\/p>\n<p>print(result)  # \u8f93\u51fa: 15<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>1.2 \u5e94\u7528\u573a\u666f\u4e0e\u4f18\u7f3a\u70b9<\/h3>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u975e\u5e38\u76f4\u89c2\uff0c\u9002\u5408\u7528\u5728\u7b80\u5355\u7684\u8ba1\u7b97\u573a\u666f\u4e2d\u3002\u7136\u800c\uff0c\u5f53\u9700\u8981\u8fdb\u884c\u590d\u6742\u7684\u8ba1\u7b97\u6216\u591a\u6b21\u590d\u7528\u76f8\u540c\u7684\u8fd0\u7b97\u903b\u8f91\u65f6\uff0c\u76f4\u63a5\u4f7f\u7528\u4e58\u6cd5\u8fd0\u7b97\u7b26\u53ef\u80fd\u4f1a\u663e\u5f97\u5197\u957f\u548c\u4e0d\u4fbf\u3002<\/p>\n<\/p>\n<p><h2>\u4e8c\u3001\u5b9a\u4e49\u51fd\u6570<\/h2>\n<\/p>\n<p><h3>2.1 \u5b9a\u4e49\u4e58\u6cd5\u51fd\u6570<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7\u5b9a\u4e49\u4e00\u4e2a\u51fd\u6570\uff0c\u53ef\u4ee5\u5c06\u4e58\u6cd5\u8fd0\u7b97\u5c01\u88c5\u8d77\u6765\uff0c\u4f7f\u4ee3\u7801\u66f4\u52a0\u6a21\u5757\u5316\u548c\u53ef\u590d\u7528\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def multiply(x, y):<\/p>\n<p>    return x * y<\/p>\n<p>a = 5<\/p>\n<p>b = 3<\/p>\n<p>result = multiply(a, b)<\/p>\n<p>print(result)  # \u8f93\u51fa: 15<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>2.2 \u5e94\u7528\u573a\u666f\u4e0e\u4f18\u7f3a\u70b9<\/h3>\n<\/p>\n<p><p>\u5b9a\u4e49\u51fd\u6570\u7684\u597d\u5904\u5728\u4e8e\u63d0\u9ad8\u4e86\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u590d\u7528\u6027\u3002\u7279\u522b\u662f\u5728\u9700\u8981\u591a\u6b21\u8fdb\u884c\u76f8\u540c\u7684\u4e58\u6cd5\u8fd0\u7b97\u65f6\uff0c\u51fd\u6570\u53ef\u4ee5\u907f\u514d\u91cd\u590d\u4ee3\u7801\u3002\u7136\u800c\uff0c\u5bf9\u4e8e\u975e\u5e38\u7b80\u5355\u7684\u8ba1\u7b97\uff0c\u5b9a\u4e49\u51fd\u6570\u53ef\u80fd\u4f1a\u663e\u5f97\u6709\u4e9b\u591a\u4f59\u3002<\/p>\n<\/p>\n<p><h2>\u4e09\u3001\u4f7f\u7528Lambda\u8868\u8fbe\u5f0f<\/h2>\n<\/p>\n<p><h3>3.1 \u57fa\u672c\u7528\u6cd5<\/h3>\n<\/p>\n<p><p><code>lambda<\/code> \u8868\u8fbe\u5f0f\u662f\u4e00\u79cd\u7b80\u6d01\u7684\u533f\u540d\u51fd\u6570\uff0c\u53ef\u4ee5\u5728\u4e00\u884c\u4ee3\u7801\u4e2d\u5b9a\u4e49\u7b80\u5355\u7684\u8fd0\u7b97\u903b\u8f91\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">multiply = lambda x, y: x * y<\/p>\n<p>a = 5<\/p>\n<p>b = 3<\/p>\n<p>result = multiply(a, b)<\/p>\n<p>print(result)  # \u8f93\u51fa: 15<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>3.2 \u5e94\u7528\u573a\u666f\u4e0e\u4f18\u7f3a\u70b9<\/h3>\n<\/p>\n<p><p><code>lambda<\/code> \u8868\u8fbe\u5f0f\u975e\u5e38\u9002\u5408\u7528\u4e8e\u7b80\u77ed\u7684\u3001\u4e00\u6b21\u6027\u7684\u8fd0\u7b97\u903b\u8f91\u3002\u5b83\u7684\u4f18\u52bf\u5728\u4e8e\u7b80\u6d01\uff0c\u4f46\u4e5f\u56e0\u4e3a\u6ca1\u6709\u540d\u5b57\u548c\u6587\u6863\u5b57\u7b26\u4e32\uff0c\u6240\u4ee5\u4e0d\u9002\u5408\u5904\u7406\u590d\u6742\u7684\u903b\u8f91\u6216\u591a\u6b21\u590d\u7528\u3002<\/p>\n<\/p>\n<p><h2>\u56db\u3001\u4f7f\u7528NumPy\u5e93<\/h2>\n<\/p>\n<p><h3>4.1 \u5b89\u88c5\u548c\u5bfc\u5165NumPy<\/h3>\n<\/p>\n<p><p>NumPy\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u79d1\u5b66\u8ba1\u7b97\u5e93\uff0c\u63d0\u4f9b\u4e86\u5927\u91cf\u7684\u6570\u5b66\u51fd\u6570\u548c\u64cd\u4f5c\u3002\u5982\u679c\u9700\u8981\u8fdb\u884c\u5927\u91cf\u7684\u6570\u503c\u8ba1\u7b97\uff0c\u4f7f\u7528NumPy\u4f1a\u66f4\u52a0\u9ad8\u6548\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import numpy as np<\/p>\n<p>a = np.array([5])<\/p>\n<p>b = np.array([3])<\/p>\n<p>result = np.multiply(a, b)<\/p>\n<p>print(result)  # \u8f93\u51fa: [15]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>4.2 \u5e94\u7528\u573a\u666f\u4e0e\u4f18\u7f3a\u70b9<\/h3>\n<\/p>\n<p><p>NumPy\u975e\u5e38\u9002\u5408\u7528\u4e8e\u5904\u7406\u5927\u91cf\u7684\u6570\u503c\u8ba1\u7b97\u548c\u77e9\u9635\u8fd0\u7b97\u3002\u5b83\u7684\u6027\u80fd\u548c\u529f\u80fd\u90fd\u975e\u5e38\u5f3a\u5927\uff0c\u4f46\u5bf9\u4e8e\u7b80\u5355\u7684\u4e58\u6cd5\u8fd0\u7b97\u6765\u8bf4\uff0c\u53ef\u80fd\u663e\u5f97\u6709\u4e9b\u8fc7\u4e8e\u590d\u6742\u3002<\/p>\n<\/p>\n<p><h2>\u4e94\u3001\u4f7f\u7528\u9762\u5411\u5bf9\u8c61\u7684\u65b9\u6cd5<\/h2>\n<\/p>\n<p><h3>5.1 \u5b9a\u4e49\u7c7b\u548c\u65b9\u6cd5<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7\u5b9a\u4e49\u4e00\u4e2a\u7c7b\uff0c\u53ef\u4ee5\u5c06\u4e58\u6cd5\u8fd0\u7b97\u5c01\u88c5\u6210\u7c7b\u7684\u65b9\u6cd5\uff0c\u8fd9\u6837\u53ef\u4ee5\u66f4\u52a0\u6e05\u6670\u5730\u7ba1\u7406\u548c\u7ec4\u7ec7\u4ee3\u7801\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">class Calculator:<\/p>\n<p>    def multiply(self, x, y):<\/p>\n<p>        return x * y<\/p>\n<p>calc = Calculator()<\/p>\n<p>a = 5<\/p>\n<p>b = 3<\/p>\n<p>result = calc.multiply(a, b)<\/p>\n<p>print(result)  # \u8f93\u51fa: 15<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>5.2 \u5e94\u7528\u573a\u666f\u4e0e\u4f18\u7f3a\u70b9<\/h3>\n<\/p>\n<p><p>\u9762\u5411\u5bf9\u8c61\u7684\u65b9\u6cd5\u9002\u5408\u7528\u4e8e\u590d\u6742\u7684\u9879\u76ee\u548c\u7cfb\u7edf\uff0c\u53ef\u4ee5\u901a\u8fc7\u7c7b\u548c\u65b9\u6cd5\u6765\u7ec4\u7ec7\u548c\u7ba1\u7406\u4ee3\u7801\u3002\u7136\u800c\uff0c\u5bf9\u4e8e\u7b80\u5355\u7684\u4e58\u6cd5\u8fd0\u7b97\uff0c\u5b9a\u4e49\u4e00\u4e2a\u7c7b\u53ef\u80fd\u663e\u5f97\u6709\u4e9b\u8fc7\u4e8e\u590d\u6742\u3002<\/p>\n<\/p>\n<p><h2>\u516d\u3001\u7efc\u5408\u5e94\u7528<\/h2>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u9879\u76ee\u4e2d\uff0c\u53ef\u80fd\u4f1a\u9700\u8981\u7ed3\u5408\u591a\u79cd\u65b9\u6cd5\u6765\u5b9e\u73b0\u4e58\u6cd5\u8fd0\u7b97\u3002\u6bd4\u5982\uff0c\u5728\u4e00\u4e2a\u6570\u636e\u5206\u6790\u9879\u76ee\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528NumPy\u8fdb\u884c\u5927\u91cf\u7684\u6570\u503c\u8ba1\u7b97\uff0c\u540c\u65f6\u5b9a\u4e49\u51fd\u6570\u6765\u5c01\u88c5\u5e38\u7528\u7684\u8fd0\u7b97\u903b\u8f91\uff0c\u751a\u81f3\u7ed3\u5408\u9762\u5411\u5bf9\u8c61\u7684\u65b9\u6cd5\u6765\u7ec4\u7ec7\u4ee3\u7801\u3002<\/p>\n<\/p>\n<p><h3>6.1 \u793a\u4f8b\u9879\u76ee<\/h3>\n<\/p>\n<p><p>\u5047\u8bbe\u6211\u4eec\u6709\u4e00\u4e2a\u7b80\u5355\u7684\u6570\u636e\u5206\u6790\u9879\u76ee\uff0c\u9700\u8981\u8ba1\u7b97\u591a\u4e2a\u6570\u636e\u96c6\u7684\u4e58\u79ef\u3002\u53ef\u4ee5\u7ed3\u5408\u4e0a\u8ff0\u65b9\u6cd5\u6765\u5b9e\u73b0\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import numpy as np<\/p>\n<p>class DataAnalyzer:<\/p>\n<p>    def __init__(self, data):<\/p>\n<p>        self.data = data<\/p>\n<p>    def multiply_datasets(self, dataset1, dataset2):<\/p>\n<p>        return np.multiply(dataset1, dataset2)<\/p>\n<p>    def multiply_and_sum(self, dataset1, dataset2):<\/p>\n<p>        product = self.multiply_datasets(dataset1, dataset2)<\/p>\n<p>        return np.sum(product)<\/p>\n<h2><strong>\u793a\u4f8b\u6570\u636e\u96c6<\/strong><\/h2>\n<p>data1 = np.array([1, 2, 3, 4, 5])<\/p>\n<p>data2 = np.array([5, 4, 3, 2, 1])<\/p>\n<p>analyzer = DataAnalyzer(data1)<\/p>\n<p>result = analyzer.multiply_and_sum(data1, data2)<\/p>\n<p>print(result)  # \u8f93\u51fa: 35<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>6.2 \u4f18\u7f3a\u70b9\u5206\u6790<\/h3>\n<\/p>\n<p><p>\u8fd9\u79cd\u7efc\u5408\u5e94\u7528\u7684\u65b9\u6cd5\u53ef\u4ee5\u5145\u5206\u5229\u7528\u6bcf\u79cd\u65b9\u6cd5\u7684\u4f18\u52bf\uff0c\u4f7f\u4ee3\u7801\u66f4\u52a0\u9ad8\u6548\u548c\u6613\u4e8e\u7ef4\u62a4\u3002\u7136\u800c\uff0c\u4e5f\u9700\u8981\u6ce8\u610f\u4ee3\u7801\u7684\u590d\u6742\u6027\u548c\u53ef\u8bfb\u6027\uff0c\u907f\u514d\u8fc7\u5ea6\u8bbe\u8ba1\u3002<\/p>\n<\/p>\n<p><h2>\u7ed3\u8bba<\/h2>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u6709\u591a\u79cd\u65b9\u6cd5\u53ef\u4ee5\u5b9e\u73b0\u4e24\u4e2a\u6570\u76f8\u4e58\uff0c\u5305\u62ec<strong>\u4f7f\u7528\u4e58\u6cd5\u8fd0\u7b97\u7b26\u3001\u5b9a\u4e49\u51fd\u6570\u3001\u4f7f\u7528lambda\u8868\u8fbe\u5f0f\u3001\u4f7f\u7528NumPy\u5e93\u548c\u9762\u5411\u5bf9\u8c61\u7684\u65b9\u6cd5<\/strong>\u3002\u6bcf\u79cd\u65b9\u6cd5\u90fd\u6709\u5176\u9002\u7528\u7684\u573a\u666f\u548c\u4f18\u7f3a\u70b9\u3002\u5728\u5b9e\u9645\u9879\u76ee\u4e2d\uff0c\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u6700\u5408\u9002\u7684\u65b9\u6cd5\uff0c\u751a\u81f3\u53ef\u4ee5\u7ed3\u5408\u591a\u79cd\u65b9\u6cd5\u6765\u5b9e\u73b0\u66f4\u52a0\u590d\u6742\u7684\u529f\u80fd\u3002\u901a\u8fc7\u5408\u7406\u7684\u8bbe\u8ba1\u548c\u7ec4\u7ec7\u4ee3\u7801\uff0c\u53ef\u4ee5\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u3001\u53ef\u7ef4\u62a4\u6027\u548c\u6548\u7387\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u5b9e\u73b0\u4e24\u4e2a\u6570\u7684\u4e58\u6cd5\u8fd0\u7b97\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u4e58\u6cd5\u8fd0\u7b97\u975e\u5e38\u7b80\u5355\u3002\u53ef\u4ee5\u4f7f\u7528\u661f\u53f7\uff08*\uff09\u8fd0\u7b97\u7b26\u6765\u8fdb\u884c\u4e24\u4e2a\u6570\u7684\u76f8\u4e58\u3002\u4f8b\u5982\uff0c\u82e5\u8981\u8ba1\u7b975\u548c3\u7684\u4e58\u79ef\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u4ee3\u7801\uff1a  <\/p>\n<pre><code class=\"language-python\">result = 5 * 3\nprint(result)  # \u8f93\u51fa\u7ed3\u679c\u4e3a15\n<\/code><\/pre>\n<p>\u901a\u8fc7\u8fd9\u79cd\u65b9\u5f0f\uff0c\u4f60\u53ef\u4ee5\u8f7b\u677e\u5730\u8ba1\u7b97\u4efb\u610f\u4e24\u4e2a\u6570\u5b57\u7684\u4e58\u79ef\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\uff0c\u4e58\u6cd5\u8fd0\u7b97\u652f\u6301\u54ea\u4e9b\u6570\u636e\u7c7b\u578b\uff1f<\/strong><br \/>Python\u7684\u4e58\u6cd5\u8fd0\u7b97\u7b26\u4e0d\u4ec5\u9002\u7528\u4e8e\u6574\u6570\u548c\u6d6e\u70b9\u6570\uff0c\u8fd8\u53ef\u4ee5\u7528\u4e8e\u5176\u4ed6\u6570\u636e\u7c7b\u578b\u3002\u6bd4\u5982\uff0c\u4e24\u4e2a\u5b57\u7b26\u4e32\u76f8\u4e58\u4f1a\u8fd4\u56de\u5b57\u7b26\u4e32\u7684\u91cd\u590d\uff0c\u4e24\u4e2a\u5217\u8868\u76f8\u4e58\u5219\u4e0d\u9002\u7528\uff0c\u4f46\u53ef\u4ee5\u901a\u8fc7\u5176\u4ed6\u65b9\u5f0f\u5b9e\u73b0\u5217\u8868\u7684\u91cd\u590d\u3002\u4f8b\u5982\uff1a  <\/p>\n<pre><code class=\"language-python\"># \u5b57\u7b26\u4e32\u91cd\u590d\nstring_result = &quot;abc&quot; * 3  # \u7ed3\u679c\u4e3a &quot;abcabcabc&quot;\n\n# \u5217\u8868\u91cd\u590d\nlist_result = [1, 2] * 3  # \u7ed3\u679c\u4e3a [1, 2, 1, 2, 1, 2]\n<\/code><\/pre>\n<p>\u8fd9\u79cd\u7075\u6d3b\u6027\u4f7f\u5f97Python\u5728\u5904\u7406\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\u65f6\u66f4\u52a0\u65b9\u4fbf\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Python\u4e2d\u5904\u7406\u7528\u6237\u8f93\u5165\u7684\u4e24\u4e2a\u6570\u5b57\u76f8\u4e58\uff1f<\/strong><br \/>\u53ef\u4ee5\u4f7f\u7528<code>input()<\/code>\u51fd\u6570\u83b7\u53d6\u7528\u6237\u8f93\u5165\u7684\u6570\u5b57\uff0c\u5e76\u5c06\u5176\u8f6c\u6362\u4e3a\u9002\u5f53\u7684\u7c7b\u578b\u540e\u8fdb\u884c\u4e58\u6cd5\u8fd0\u7b97\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u793a\u4f8b\uff1a  <\/p>\n<pre><code class=\"language-python\">num1 = float(input(&quot;\u8bf7\u8f93\u5165\u7b2c\u4e00\u4e2a\u6570\u5b57: &quot;))\nnum2 = float(input(&quot;\u8bf7\u8f93\u5165\u7b2c\u4e8c\u4e2a\u6570\u5b57: &quot;))\nproduct = num1 * num2\nprint(f&quot;{num1} \u548c {num2} \u7684\u4e58\u79ef\u662f: {product}&quot;)\n<\/code><\/pre>\n<p>\u8fd9\u79cd\u65b9\u6cd5\u5141\u8bb8\u7528\u6237\u52a8\u6001\u8f93\u5165\u503c\uff0c\u6781\u5927\u5730\u589e\u5f3a\u4e86\u7a0b\u5e8f\u7684\u4e92\u52a8\u6027\u548c\u5b9e\u7528\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\uff0c\u6709\u591a\u79cd\u65b9\u6cd5\u53ef\u4ee5\u5b9e\u73b0\u4e24\u4e2a\u6570\u76f8\u4e58\uff0c\u5305\u62ec\u4f7f\u7528\u7b80\u5355\u7684\u4e58\u6cd5\u8fd0\u7b97\u7b26\u3001\u5b9a\u4e49\u51fd\u6570\u3001\u4f7f\u7528lambda\u8868\u8fbe\u5f0f\u7b49\u3002 [&hellip;]","protected":false},"author":3,"featured_media":1127185,"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\/1127177"}],"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=1127177"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1127177\/revisions"}],"predecessor-version":[{"id":1127189,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1127177\/revisions\/1127189"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1127185"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1127177"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1127177"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1127177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}