logo CodeStepByStep logo

face

Language/Type: Python DrawingPanel graphics parameters
Related Links:

Suppose you have the following existing program that uses the DrawingPanel to draw a face. Modify the program to draw the modified output shown in the figure below. Do so by writing a parameterized function that draws a face at different positions. The window size should be changed to 320 x 180 px, and the two faces' top-left corners are at (10, 30) and (150, 50).

expected output
Complete program: Write an entire program that you could put into a file and run outside of CodeStepByStep.

You must log in before you can solve this problem.

Log In

Need help?

Stuck on an exercise? Contact your TA or instructor.

If something seems wrong with our site, please

Is there a problem? Contact us.