摘要:
#用列表生成式创建[1x1, 2x2, 3x3, ..., 10x10] print([x*x for x in range(1,11)]) #用列表生成式创建[2x2, 4x4,,6×6,..., 10x10] print([x*x for x in range(1,11) if x%2 == 0]) #用随机数字生成一个list,并把这个数字list转换成字符串listimport... 阅读全文
posted @ 2018-11-30 18:10
星痕1216
阅读(195)
评论(0)
推荐(0)
浙公网安备 33010602011771号