Commit 81c0221e by BellCodeEditor

save project

parent 0b1c64a9
Showing with 10 additions and 4 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
pen1=turtle.Pen()
pen.write("哦!('o')",font=("Times",10,"normal")) pen.write("哦!('o')",font=("Times",10,"normal"))
pen1.pencolor(red) pen1.pencolor("red")
pen1.pensize(50)
pen1.penup() pen1.penup()
pen1.goto(-30,30) pen1.begin_fill()
pen1.goto(-100,30)
pen1.pendown()
pen1.left(45) pen1.left(45)
pen1.forward(120) pen1.forward(120)
pen1.circle(60,180) pen1.circle(60,180)
pen1.left(90) pen1.left(-90)
pen1.circle(60,180) pen1.circle(60,180)
pen1.forward(120) pen1.forward(120)
turtle.done() pen1.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