Question: Part one deliverables You need to code two Python files, modeled on , but not exactly copying the examples here. 1 . a file like

Part one deliverables
You need to code two Python files, modeled on, but not exactly copying the examples here.
1. a file like jr_draw_circle.py that contains a function that we can call to draw something(s) in the Display window. Which things whatever you like, shapes, text, pictures, etc. The key requirement is that your function must take parameters:
a color number,
an X coordinate an
a Y coordinate
in that order.
Your function must return a tuple containing
a new color number,
a new X coordinate and
a new y coordinate.
In that order.
To get a new X or a new Y or a new color, perform some math operation on the corresponding input parameter value, or add or subtract a random value, taking care not to go outside the range of 0 to 100 on color, and to keep within the size of the Display window for X and Y (800 and 600 in this example).
This is the file you will post in the Discussion forum AFTER you test it.
It will be very helpful if you name your function starting with your name or initials, and adding on some words that hint at what it does.
2. To test your function, code a sketch modeled on sketch_my_function that runs your function and shows that it works. Don't post this code, but keep it handy for testing and submission.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!