Skip to content

Commit 329342b

Browse files
authored
Update ex1.1SquareDance.py
1 parent dea4c85 commit 329342b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ex1.1SquareDance.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Use forward() and right() functions so that turtle draws a square.
2+
13
from turtle import *
24
shape('turtle')
35

@@ -7,4 +9,4 @@
79
right(90)
810
forward(100)
911
right(90)
10-
forward(100)
12+
forward(100)

0 commit comments

Comments
 (0)