For my valentine

import turtle

s = turtle.getscreen()
t = turtle.Turtle()
turtle.title("Happy Valentine's Day!")
turtle.bgcolor("red")
t.pencolor("white")
t.fillcolor("white")
t.up()
t.goto(-40,0)
t.down()
t.dot(100)
t.up()
t.goto(40,0)
t.down()
t.dot(100)
t.up()
t.goto(80,-30)
t.down()
t.begin_fill()
for i in range(3):
    t.right(120)
    t.fd(160)
t.end_fill()

t.color('white')
t.up()
t.goto(0,150)
t.down()
style = ('Courier', 30, 'italic')
t.write('I love you!', font=style, align='center')
t.hideturtle()

input("I love you!")

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s