Commit 941e3ed0 by BellCodeEditor

save project

parent bfda3fa8
Showing with 11 additions and 7 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
screen=turtle.Screen()
screen.bgcolor("light blue")
pen=turtle.Pen() pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
pen.write("诺伊,\n我是美女",font=("Times",49,"normal")) pen.write("诺伊,\n我是美女",font=("Times",49,"normal"))
pen.hideturtle() pen.hideturtle()
turtle.done() #turtle.done()
penl=turtle.Pen() penl=turtle.Pen()
penl.left(45) penl.left(45)
pen.forward(100) penl.forward(100)
penl.circle(50,100) penl.circle(50,180)
pen.right(90) penl.right(90)
penl.circle(50,100) penl.circle(50,180)
penl.forward(100) penl.forward(100)
penl.hideturtle() penl.hideturtle()
turtle.done turtle.done()
\ No newline at end of file \ No newline at end of file
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