Figure 2: The frieze pattern for this question.
In this frieze, the length of each of the eight "spokes" of the basic element is 40, and the angle between the spokes is 45 degrees. Each repeat is 100 units to the right of the previous one, as measured from the center of one basic element to the center of the next (where the center is the point where the spokes of a basic element meet).
b. Next, refine your decomposition, adding more detail so that it becomes an algorithm. This is not yet a program, so you should write the steps in English rather than as Python statements. To draw the basic element of the frieze, you will need to use a second loop. (8 marks)
c. Translate your algorithm into Python, including appropriate comments. Name your Python file Q2_OUCU_c.py, where 'OUCU' is your OU computer username, e.g. abc123. Run your program to test that it produces an output corresponding to Figure 2. Paste your Python code into your solution document as text and state whether it produced the expected output.