Please enable JavaScript to use CodeHS

CodeHS Glossary


Color("red") Python

Command to change Tracy’s color. Note that the color must be in quotation marts. It changes the color of everything Tracy does until the next time you use the color command. This example uses “red” but you can use other colors such as “black”, “blue”, “green”, and various others.