python turtle我想用五种颜色画五个圆,并且用画圆周的颜色填充,老是出问题,怎么回事,怎么修改?
from?turtle?import?*
colors?=?['red',?'blue',?'green',?'yellow',?'orange',?'purple']
def?circle():
for?i?in?range(36):
forward(20)
left(10)
for?i?in?colors:
color(i)
begin_fill()
circle()
end_fill()
left(60)