Crona Structure using Python Turtle

 How to make Crona Structure using Python Turtle?

Source Code:-

import turtle
t=turtle.Turtle()
t.pencolor("green")
s=turtle.Screen()
s.bgcolor("black")
t.penup()
t.goto(0,200)
t.pendown()
a=0
b=0

t.speed(0)

while True:
    t.forward(a)
    t.right(b)
    a+=3
    b+=1
    if b==210:
        break
    turtle.hideturtle()


Download Handwritten Notes of Python

Post a Comment

0 Comments