Commit 5c38f3e4 by BellCodeEditor

save project

parent 654bc3ba
Showing with 22 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
# banana=turtle.Pen()
# banana.write("banana\nbanana\nbanana",font=("Times,30,normal"))
# banana.hideturtle()
# turtle.done()
banana2=turtle.Screen()
banana1=turtle.Pen()
banana2.bgcolor("black")
banana1.hideturtle()
banana1.begin_fill()
banana1.pensize(4)
banana1.color("blue","yellow")
banana1.left(45)
banana1.forward(100)
banana1.circle(50,180)
banana1.right(90)
banana1.circle(50,180)
banana1.forward(100)
banana1.end_fill()
turtle.done()
\ 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