丘比特之心

import turtle as t
import time
t.color('red','red')
t.hideturtle()
t.pensize(10)
t.begin_fill()
t.left(45)
t.fd(100)
t.circle(50,180)
t.penup()
t.goto(0,0)
t.pendown()
t.right(90)
t.fd(100)
t.left(180)
t.circle(50,-180)
t.end_fill()
t.color('red')
t.penup()
t.goto(200,-200)
t.pendown()
t.write("**女友,情人节快乐!")
t.color('pink')
t.penup()
t.goto(-140,80)
t.pendown()
t.pensize(4)
t.right(135)
t.fd(46)
t.penup()
t.fd(95)
t.pendown()
t.fd(160)
t.begin_fill()
t.left(180-30)
t.fd(30)
t.left(180-60)
t.fd(30)
t.left(180-60)
t.fd(30)
t.end_fill()
time.sleep(52)

丘比特之心_第1张图片

你可能感兴趣的:(丘比特之心)