A. python turtle我想用五種顏色畫五個圓,並且用畫圓周的顏色填充,老是出問題,怎麼回事,怎麼修改
fromturtleimport*
colors=['red','blue','green','yellow','orange','purple'陵租]
defcircle():
foriinrange(36):
forward(20)
left(10)
foriincolors:
汪汪宏color(i)
困冊begin_fill()
circle()
end_fill()
left(60)