Python-任務六

海龜繪圖(Turtle Graphics) 1、在PyCharm中安裝turtle 2、繪製太陽花 import turtle turtle.color("red","yellow") #畫筆顏色、填充顏色 turtle.speed(10)#速度 turtle.begin_fill()#準備開始填充 for _ in range(50): turtle.forward(200) #向前
相關文章
相關標籤/搜索