Write a program ch2_write_code1.py that draws the word “CODE,” as shown below. Use the circle method to draw the arcs of the “C” and “D.” The circle method takes two arguments: the radius of the circle and the extent of the circle in degrees. For example, george.circle(100, 180) would draw half of a circle with radius 100. Making the extent negative draws the arc in the reverse direction. (Havill, problem 2.3.9)
Problem 2
1.Save a copy of your program from above in a new file named ch2_write_code2.py. Modify the program so that each letter is drawn using a function. Use those functions to draw the word “DECODE” (so the functions to draw “D” and “E” are called twice). (Havill, problem 2.3.9)
164424540002/07/202209:50am
Additional Comments:
Rubric
Can't change a rubric once you've started using it.