摘要: l = [['Apple','Google','Microsoft'],\ ['Java','Python','Ruby','PHP'],\ ['Adam','Bart','Lisa']\ ] names= ['Michael','Bob','Tracy'] #list print(names[1] 阅读全文
posted @ 2018-06-04 16:57 粉红猪 阅读(114) 评论(0) 推荐(0) 编辑
摘要: import turtle turtle.speed(15) colors =['red','orange','blue','green','pink','yellow','white','red'] for i in range(250): turtle.pencolor(colors[i%8]) 阅读全文
posted @ 2018-06-04 16:17 粉红猪 阅读(105) 评论(0) 推荐(0) 编辑