
python
skk1faker
这个作者很懒,什么都没留下…
展开
-
python函数的参数调用前后id的分析
由于python函数调用前后的id不发生变化,所以如果调用完的参数id发生变化,在函数结束之后被调用的参数这里给出更加详细的解释链接原创 2022-03-11 16:03:00 · 1449 阅读 · 0 评论 -
使用lambda生成list
使用lambda生成list方法一 list(map(lambda, list))Python 3.8.8 (default, Apr 13 2021, 19:58:26) [GCC 7.3.0] :: Anaconda, Inc. on linuxType "help", "copyright", "credits" or "license" for more information.>>> a = [1,2,3,4,5]>>> map(lambda x:x原创 2022-01-12 10:04:17 · 1715 阅读 · 0 评论