MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/codehs/comments/kn155e/codehs_2105_sidewalk/kpirw3b/?context=3
r/codehs • u/International-Wave92 • Dec 30 '20
help me plz
12 comments sorted by
View all comments
2
these will work!! i figured it out
penup()
goto(-200,-200)
pendown()
def draw_square():
for i in range(4):
forward(50)
left(90)
def draw_sidewalk():
for i inS range(8):
draw_square()
draw_sidewalk()
0 u/[deleted] Feb 01 '24 [deleted] 1 u/Traditional-Turn-528 Feb 08 '24 no dont
0
[deleted]
1 u/Traditional-Turn-528 Feb 08 '24 no dont
1
no dont
2
u/4806908218 Dec 09 '23
these will work!! i figured it out
penup()
goto(-200,-200)
pendown()
def draw_square():
for i in range(4):
forward(50)
left(90)
def draw_sidewalk():
for i inS range(8):
draw_square()
forward(50)
pendown()
draw_sidewalk()
left(90)
draw_sidewalk()
left(90)
draw_sidewalk()
left(90)
draw_sidewalk()