Question: Write a turtle graphics program that draws a city skyline similar to the one shown in Figure 5-33. The programs overall task is to draw
Write a turtle graphics program that draws a city skyline similar to the one shown in Figure 5-33. The program’s overall task is to draw an outline of some city buildings against a night sky. Modularize the program by writing functions that perform the following tasks:
• Draw the outline of buildings.
• Draw some windows on the buildings.
• Use randomly placed dots as the stars (make sure the stars appear on the sky, not on the buildings).
Figure 5-33 City skyline
Step by Step Solution
3.42 Rating (171 Votes )
There are 3 Steps involved in it
Answer here is a Python turtle graphics program that draws a city skyline similar to the one shown i... View full answer
Get step-by-step solutions from verified subject matter experts
