python彩色圆点绕圈图

今天上课练习的内容为画以下图形:

"""彩色圆点绕圈图_Python海龟画图练习"""

import turtle

colors = ['red','orange','yellow','green','cyan','blue','purple']
amounts = len(colors)

screen = turtle.getscreen()
screen.title("彩色圆点绕圈图")
screen.bgcolor("red")
screen.setup(640,480)
screen.delay(0)

You must log in to read the rest of this article. Please log in or register as a user.