Session 2, #6: Additional Challenges: Labeling Cities


These are engaging exercises that are not needed for the flow of the course but for students who finished the first parts early.

Labeling Cities

For turtles, there is a write() command that will write to the current screen location. For example, we used it:

		tommy.write("How large is the canvas?", None, None, "16pt bold")
	   

The message to be written to the screen is in quotes. The next two inputs are for fonts (the style of the letters), and the last makes it bigger and bold face.



Challenge: Modify your program above to label each city with its name.