This commit is contained in:
sean
2026-02-09 23:18:05 -05:00
parent 07e5b6b5d0
commit e18aef5ee2
5 changed files with 39 additions and 3 deletions

18
square.py Normal file
View File

@@ -0,0 +1,18 @@
from turtle import forward, right
def square(size):
forward(size)
right(45)
forward(size)
right(45)
forward(size)
right(45)
forward(size)
right(45)
square(10)
forward(100)
square(50)
forward(100)
square(100)
input()