Commit eeb09025 by BellCodeEditor

save project

parent a15989ca
Showing with 24 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
pen=turtle.Pen()
pen.write("《鱼我所欲也》 孟子\n鱼,我所欲也;熊掌,亦我所欲也\n二者不可得兼:\n舍鱼而取熊掌者也.",font=("Times",19,"normal"))
pen.hideturtle()
turtle.done()
\ No newline at end of file
# import turtle
# pen=turtle.Pen()
# pen.write("诺伊,\n你可真牛啊.",font=("Times",30,"normal"))
# pen.hideturtle()
# turtle.done()
import turtle
pen=turtle.Pen()
pen.pencolor("red")
pen.pensize(5)
pen.left(45)
pen.forward(100)
pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.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