generated from mwc/lab_turtle
I changed the numbers to create a new shape.
I was a little frustrated because I couldn't get the turtle to change the shape into what I wanted.
This commit is contained in:
22
drawing.py
22
drawing.py
@@ -8,15 +8,15 @@ from turtle import (
|
||||
color,
|
||||
)
|
||||
|
||||
forward(100)
|
||||
right(360 * 2 / 5)
|
||||
forward(100)
|
||||
right(360 * 2 / 5)
|
||||
forward(100)
|
||||
right(360 * 2 / 5)
|
||||
forward(100)
|
||||
right(360 * 2 / 5)
|
||||
forward(100)
|
||||
right(360 * 2 / 5)
|
||||
forward(150)
|
||||
right(200 * 2 / 5)
|
||||
forward(200)
|
||||
right(200 * 2 / 5)
|
||||
forward(200)
|
||||
right(200 * 2 / 5)
|
||||
forward(200)
|
||||
right(200 * 2 / 5)
|
||||
forward(200)
|
||||
right(100 * 2 / 5)
|
||||
|
||||
|
||||
input()
|
||||
|
||||
Reference in New Issue
Block a user