Skip to content

Commit 090f132

Browse files
authored
Update koch curve.py
1 parent e9bd54b commit 090f132

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Koch Curve/koch curve.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ def snowflake(lengthSide, levels):
2323
penup() #Pull the pen up – no drawing when moving.
2424
#Move the turtle backward by distance, opposite to the direction the turtle is headed.
2525
#Do not change the turtle’s heading.
26-
backward(length/2.0)
27-
pendown()
26+
backward(length/2.0)
27+
pendown()
2828
for i in range(3):
2929
#Pull the pen down – drawing when moving.
3030
snowflake(length, 4)
3131
right(120)
32-
mainloop() #To control the closing windows of the turtle
32+
mainloop() #To control the closing windows of the turtle

0 commit comments

Comments
 (0)