Question: write a program that produces the first image below, given restrictions. Break the program down into functions that do fundamental operations (e.g. like drawing a
write a program that produces the first image below, given restrictions. Break the program down into functions that do fundamental operations (e.g. like drawing a series of rectangles) and to design the parameters needed by those functions. Some of the functions will call the other functions.
Ground rules:
-
You may not have any variables other than local variables within functions. No variable declarations outside of functions. You may only have imports, function definitions, and one call to main() at indentation-0.
-
Only one call of turtles circle and two of forward (or backward), in the entire program. (You can use goto, but not with the pen down, or similar shenanigans.) Youll be writing your own functions to draw circles, etc.
-
Get a close match to the image given, but an exact pixel match isn't needed. Be sure you get the color darkening (which always involves reducing the prior color's values by 10%), the drop shadows, and the basic layout right.

0000 0000
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
