hits counter Draw broken 💔 heart by using python

Draw broken 💔 heart by using python

Gnanagani
By -
0

 Hi Everyone,


For more python project and there code follow us.....

Welcome to our blog to learn coding and get python codes.

To write python code you install pycharm (its my suggestion) app in your laptop or desktop.



This is our project BROKEN 💔 HEART image 👆






this project code is here👇


import turtle
s=turtle.Screen().bgcolor("black")
t=turtle.Turtle()
t.speed(0)
t.width(12)

def curve():
    for i in range (200):
        t.right(1)
        t.forward(1)

def heart():
    t.color("red","red")
    t.begin_fill()
    t.left(140)
    t.forward(113)
    curve()
    t.left(120)
    curve()
    t.forward(112)
    t.end_fill()

heart()
t.pencolor("black")
t.penup()
t.goto(0,170)
t.pendown()
for zigzag in range (3):
    t.left(75)
    t.forward(40)
    t.right(65)
    t.forward(45)

turtle.done
Tags:

Post a Comment

0Comments

Post a Comment (0)

#buttons=(Ok, Go it!) #days=(20)

Our website uses cookies to enhance your experience. Learn more
Ok, Go it!