{"id":1053,"date":"2019-11-04T21:38:17","date_gmt":"2019-11-04T13:38:17","guid":{"rendered":"http:\/\/vip.fxxkpython.com\/?p=1053"},"modified":"2020-02-28T01:51:06","modified_gmt":"2020-02-27T17:51:06","slug":"python-%e7%88%ac%e9%98%b6%e6%a2%af-%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8-lambda-%e4%b8%80%e8%a1%8c%e5%ae%9e%e7%8e%b0%e4%b8%80%e4%b8%aa%e5%87%bd%e6%95%b0","status":"publish","type":"post","link":"https:\/\/vip.fxxkpython.com\/?p=1053","title":{"rendered":"Python \u722c\u9636\u68af | \u5982\u4f55\u4f7f\u7528 lambda \u4e00\u884c\u5b9e\u73b0\u4e00\u4e2a\u51fd\u6570"},"content":{"rendered":"\n<p>\u5982\u679c\u8bf4\u6211\u4eec\u5728 python \u5feb\u901f\u5165\u95e8\u8fd9\u4e2a\u9636\u6bb5\u4e2d\u662f\u5728 \u201c\u8d70\u8def\u201d \u7684\u8bdd\uff0c\u90a3\u4e48\u6211\u89c9\u5f97\u54b1\u4eec\u63a5\u4e0b\u6765\u7684\u8fd9\u4e2a\u9636\u6bb5\u5c31\u662f \u201c\u722c\u9636\u68af\u201d \u3002\u4f60\u77e5\u9053\u7684\uff0c\u201c\u722c\u201d \u8fd9\u4e2a\u52a8\u4f5c\u603b\u5f52\u4f1a\u662f\u6bd4 \u201c\u8d70\u201d \u8981\u8d39\u529b\u4e00\u4e9b\u7684\u3002\u4e0d\u8fc7\u4f60\u522b\u62c5\u5fc3\uff0c\u6211\u4f1a\u5c3d\u91cf\u628a\u5c42\u5c42 \u201c\u9636\u68af\u201d \u4fee\u5f97 \u201c\u5e73\u6ed1\u201d \u4e00\u4e9b\u3001\u6709\u5c42\u6b21\u4e00\u4e9b\uff0c\u5c3d\u91cf\u4e0d\u8ba9\u5b83\u592a\u9661\u5ced&#8230;<\/p>\n\n\n\n<p>\u8fd9\u4e2a\u9636\u6bb5\u6211\u79f0\u4e4b\u4e3a \u201cPython \u722c\u9636\u68af \u201d \uff0c\u8bb2\u8bb2\u5f53\u4f60\u5b66\u4f1a\u4e86 Python \u57fa\u7840\u4e4b\u540e\uff0c\u8fd8\u9700\u8981\u638c\u63e1\u7684\u4e00\u4e9b\u8fdb\u9636\u77e5\u8bc6\u3002<\/p>\n\n\n\n<p>\u4eca\u5929\uff0c\u6211\u4eec\u5c31\u8981\u5f00\u59cb\u201c\u722c\u9636\u68af\u201d\u4e86\uff0c\u5148\u9002\u5e94\u9002\u5e94\uff0c\u54b1\u4eec\u8bf4\u8bf4 lambda \u8fd9\u73a9\u610f\u3002<\/p>\n\n\n\n<p>\u5176\u5b9e\u4e0d\u53ea\u662f Python\uff0c\u5176\u5b83\u8bb8\u591a\u7f16\u7a0b\u8bed\u8a00\u90fd\u6709 lambda \u8fd9\u4e2a\u73a9\u610f\uff0c\u5b83\u662f\u5e72\u4ec0\u4e48\u7684\u5462\uff1f\u7b80\u5355\u6765\u8bf4\uff0c\u5b83\u5c31\u662f\u4e00\u4e2a\u533f\u540d\u51fd\u6570\u3002<\/p>\n\n\n\n<h2 id=\"mce_2\">lambda \u7684\u7279\u70b9<\/h2>\n\n\n\n<p>\u6211\u6765\u4e3e\u4e00\u4e2a\u6700\u7b80\u5355\u7684\u4f8b\u5b50\uff0c\u6bd4\u5982\u6211\u4eec\u4e4b\u524d\u8bf4\u7684\u81ea\u5b9a\u4e49\u51fd\u6570\uff0c\u8981\u5b9a\u4e49\u4e00\u4e2a\u7b80\u5355\u7684\u52a0\u6cd5\u51fd\u6570\uff0c\u6211\u4eec\u53ef\u4ee5\u8fd9\u6837\uff1a<div style=\"text-align:center;border:1px dashed #FF9A9A;padding:8px;margin:10px auto;color:#FF6666;\">\u672c\u6587\u9690\u85cf\u5185\u5bb9 <a href=\"https:\/\/vip.fxxkpython.com\/wp-login.php?redirect_to=https%3A%2F%2Fvip.fxxkpython.com%2F%3Fp%3D1053\">\u767b\u9646<\/a> \u540e\u624d\u53ef\u4ee5\u6d4f\u89c8<\/div>\u4ee5\u4e0a\uff0c\u5c31\u662f lambda \u7684\u5e38\u7528\u64cd\u4f5c\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5982\u679c\u8bf4\u6211\u4eec\u5728 python \u5feb\u901f\u5165\u95e8\u8fd9\u4e2a\u9636\u6bb5\u4e2d\u662f\u5728 \u201c\u8d70\u8def\u201d \u7684\u8bdd\uff0c\u90a3\u4e48\u6211\u89c9\u5f97\u54b1\u4eec\u63a5\u4e0b\u6765\u7684\u8fd9\u4e2a\u9636\u6bb5\u5c31\u662f \u201c\u722c\u9636\u68af\u201d \u3002\u4f60\u77e5\u9053\u7684\uff0c\u201c\u722c\u201d \u8fd9\u4e2a\u52a8\u4f5c\u603b\u5f52\u4f1a\u662f\u6bd4 \u201c\u8d70\u201d \u8981\u8d39\u529b\u4e00\u4e9b\u7684\u3002\u4e0d\u8fc7\u4f60\u522b\u62c5\u5fc3\uff0c\u6211\u4f1a\u5c3d\u91cf\u628a\u5c42\u5c42 \u201c\u9636\u68af\u201d \u4fee\u5f97 \u201c\u5e73\u6ed1\u201d \u4e00\u4e9b\u3001\u6709\u5c42\u6b21\u4e00\u4e9b&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[140],"tags":[148,144,147,142,141,143,146,145],"_links":{"self":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/1053"}],"collection":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1053"}],"version-history":[{"count":3,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/1053\/revisions"}],"predecessor-version":[{"id":4016,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/1053\/revisions\/4016"}],"wp:attachment":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1053"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1053"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1053"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}