Sierpinski's Carpet

Sierpinski's Carpet

The script linked below draws the Sierpinski Triangle. Modify it (or write your own code from scratch - I don't care) so that it draws Sierpinski's Carpet. (I'll let you Google that.) Note that it makes use of Python's Turtle Module. So if you're at replit, you should create a Python (with Turtle) repl. The documentation for the Turtle Module resides at python.org.

Requirements:

Extra Credit:

Extra Extra Credit: