turtleArt | Recursive pattern of regular polygons

turtleArt | Recursive pattern of regular polygons
0

turtleArt is a great way to visualize recursion in action. Here is a simple challenge to generate a recursive pattern of regular polygons.

Here is example for pentagon:

tA recursion1 tA recursion1.1

Use recursion to generate a pattern for hexagon or a heptagon or any other shape which you like. Share your digital artifact in the thread below.

Reference:

https://runestone.academy/runestone/books/published/pythonds/Recursion/pythondsintro-VisualizingRecursion.html

3 Likes