Skip to content

Commit 31fe143

Browse files
authored
Add files via upload
1 parent e3cba07 commit 31fe143

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

ex1.2CircleOfSquares.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
from turtle import *
2+
shape('turtle')
3+
speed(0)
4+
5+
def createSquares():
6+
for j in range(4):
7+
forward(100)
8+
right(90)
9+
10+
for j in range(60):
11+
createSquares()
12+
right(5)

0 commit comments

Comments
 (0)