made a abstract shape using tiles.py, was fun

This commit is contained in:
jfer
2026-02-12 11:11:01 -05:00
parent 69a9553023
commit f7f97c3b6d
6 changed files with 48 additions and 33 deletions

View File

@@ -1,17 +1,13 @@
from turtle import *
def square(side_length):
forward(side_length)
right(90)
forward(side_length)
right(90)
forward(side_length)
right(90)
forward(side_length)
right(90)
for i in range (4):
forward(side_length)
right(90)
sizes = [20, 40, 60, 80, 100]
for size in sizes:
square(size)
input()