摘要: t = [1,2,3,4]print(t)t = [x+10 for x in t]print(t)t = [x+10 for x in range(10)]print(t)输出为:如代码所示的两种列表解析的情况... 阅读全文
posted @ 2018-05-29 21:07 allMayMight 阅读(97) 评论(0) 推荐(0) 编辑