Skip to content

Commit

Permalink
Create createStar.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Kapil564 authored and x0lg0n committed Oct 31, 2024
1 parent e1efdce commit 43df2a0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Python/createStar.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import turtle
t = turtle.Turtle()
t.speed(10)
def draw_star(size):
for i in range(5):
t.forward(190)
t.right(144)
draw_star(100)
turtle.done()

0 comments on commit 43df2a0

Please sign in to comment.