用Python畫一個螺旋彩虹超級簡單

用代碼畫一個螺旋彩虹:python import turtle q = turtle.Pen() turtle.bgcolor("black") sides = 7 colors = ["red","cyan","blue","yellow","orange","green","purple"] for x in range(360): q.pencolor(colors[x%sides]
相關文章
相關標籤/搜索