python 列表生成式

r = [x*x for x in range(10)]

r list类型

posted @ 2016-07-04 09:56  Echo/  阅读(172)  评论(0编辑  收藏  举报