Not only can we rename Turtles: we can have more than one! Let's give Tina a friend named Tommy:
Tina and Tommy are both drawing in black
. Can you modify the code tina.color('black')
and tommy.color('black')
so that they're different colors? Need a color idea? Try an unusal one like 'goldenrod'
or 'magenta'
. Don't forget the quotes ('
)!
Thanks to Trinket.io for providing this assignment, part of their Hour of Python (opens new window) course.