Question: *PYTHON CODE* Create a function to draw an original image recursively. In class, we recreated the recursive images of the Sierpinski triangle and a branching
*PYTHON CODE*
Create a function to draw an original image recursively. In class, we recreated the recursive images of the Sierpinski triangle and a branching tree. The code for both images is structurally similar; use those examples as inspiration.
Name the function:
my_Recursive_Art(level)
Create an original piece of recursive art by considering other shapes and recursive patterns (for example, if the parameter level is an even value, create triangles, but if the parameter level is odd, create squares; instead of creating recursive images within the original shape, like in the Sierpinski triangle, draw outside of the original shape --like in the branching tree).
Do not use the Sierpinski triangle and the branching tree as part of your image..
Use different colors for the different recursive steps.
Create a program that asks the user for the number of recursive levels, and calls your function to create the recursive image.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
