Skip to content

Commit

Permalink
Updata: import Turtle module
Browse files Browse the repository at this point in the history
  • Loading branch information
Terieyenike committed Oct 23, 2023
1 parent 9c975ee commit d76498d
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions drawfunctions/teri_eyenike.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
from turtle import *
from turtle import Turtle, Screen

def draw_shape():
shape('circle')
setup(1.0, 1.0)
bgcolor('black')
speed(10)
pensize(5)
pencolor('magenta')
turtle = Turtle()
Screen().setup(1.0, 1.0)
Screen().bgcolor('black')

turtle.shape('circle')
turtle.speed(10)
turtle.pensize(5)
turtle.pencolor('magenta')

for i in range(4):
forward(100)
left(90)
turtle.forward(100)
turtle.left(90)

for i in range(36):
circle(50)
left(10)
turtle.circle(50)
turtle.left(10)

hideturtle()
turtle.hideturtle()

1 comment on commit d76498d

@Terieyenike
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @dominicduffin1,

Kindly check my PR.

Thanks

Please sign in to comment.