写一个列表生成式,产生一个公差为11的等差数列

 

print([x*11 for x in range(10)])

 

posted @ 2019-07-16 01:10  anobscureretreat  阅读(649)  评论(0编辑  收藏  举报