Print Simple Star using Python Turtle

In this tutorial, we are going to show and explain How to Print Simple Star using Python Turtle. We have added the video tutorial and the source code of the program.

So let us begin with How to Print Simple Star using Python Turtle.

 

Video Tutorial: Print Simple Star using Python Turtle

 

 

Source Code: 

 

import turtle
star = turtle. Turtle()
screen = turtle. Screen()
screen.setup(500, 600, startx=0, starty=450)
star.penup()
star.goto(0,200)
star.pendown()
star.right(75)
star.forward (300)
for i in range(4):
    star.right(144)
    star.forward(300)

 

Output: 

 

Print Simple Star using Python and Turtle

Leave a Reply

Your email address will not be published. Required fields are marked *