Files
lab_names/square.py
2026-02-09 23:18:05 -05:00

18 lines
249 B
Python

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()