Reconceptualized lab

This commit is contained in:
Chris Proctor
2023-07-18 17:55:04 -04:00
parent d25645282a
commit cd129bb015
6 changed files with 142 additions and 2 deletions

16
square.py Normal file
View File

@@ -0,0 +1,16 @@
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)
sizes = [20, 40, 60, 80, 100]
for size in sizes:
square(size)