Question: Please solve the following problems completely. You must provide a soft copy of the programs and their outputs. 3 0 points Regenerate recursively, figure 9

Please solve the following problems completely. You must provide a soft copy of the programs and their outputs.
30 points
Regenerate recursively, figure 9.10 that represents a spring of rosemary drawn by a python turtle.
2.30 points
Modify the ISystem function so that it recursively expands the rules. This will allow you to add a vertical bar ("|") operator that means "go forward," but with the distance to go forward being scaled according to the depth of the recursion
3.20 points
Complete and test the implementation of the Sun class by writing the following methods:
(a) getRadius
(b) getTemperature
(c) getVolume
(d) getSurfaceArea
(e) getDensity
(f) setName
(g) setRadius
4.20 points
Modify the Planet class so that the planet does not have the instance variables for x and y but simply uses the x and y location stored in the turtle
 Please solve the following problems completely. You must provide a soft

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!