From 6a0dc75fdc700df7ef7ce3fda2bc5cc57b02cd7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E5=8D=93=E8=80=98?= Date: Sat, 28 Sep 2024 00:49:19 -0400 Subject: [PATCH] practice again ^_^ --- square.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/square.py b/square.py index b5ed1fc..bdde729 100644 --- a/square.py +++ b/square.py @@ -10,6 +10,10 @@ def square(side_length): forward(side_length) right(90) +sizes = [20, 40, 60, 80, 100] +for size in sizes: + square(size) + sizes = [20, 40, 60, 80, 100] for size in sizes: square(20) @@ -17,10 +21,6 @@ for size in sizes: forward(40) pendown() -sizes = [20, 40, 60, 80, 100] -for size in sizes: - square(size) - input()