lambda expand in list时间:2023-03-08 17:13:49 [(lambda x: x*x)(x) for x in range(10)] Or better yet: [x*x for x in range(10)]