Commit 0ce1b89d by BellCodeEditor

auto save

parent a50ceeec
Showing with 22 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
screen=turtle.Screen()
screen.bgcolor("light blue")
pen=turtle.Pen()
pen.penup()
pen.goto(100,100)
pen.write("Hi,诺依~\n用python写电子贺卡真是太有趣了~\n我也喜欢吃屎~\n——悟空",font=("Time",30,"normal"))
pen.hideturtle()
pin1=turtle.Pen()
pin1.pencolor("black")
pin1.pensize(10)
pin1.left(45)
pin1.forward(100)
pin1.circle(50,180)
pin1.right(90)
pin1.circle(50,180)
pin1.forward(100)
pin1.hideturtle()
turtle.done()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment