project_drawing/changingcolors.py

31 lines
536 B
Python

from turtle import *
from superturt import *
from shapes import *
# I'm trying to figure out how to get the leaves to change colors.
with no_delay():
fillcolor('green')
begin_fill()
draw_leaf(20)
end_fill()
with no_delay():
fillcolor('yellow')
begin_fill()
draw_leaf(20)
end_fill()
with no_delay():
fillcolor('orange')
begin_fill()
draw_leaf(20)
end_fill()
with no_delay():
fillcolor('red')
begin_fill()
draw_leaf(20)
end_fill()
input()