Commit 71301819 by BellCodeEditor

save project

parent 98ebd2b8
Showing with 87 additions and 10 deletions
#利用write()帮助悟空给诺依回信吧 import turtle
#导入 画图 模 pen=turtle.Pen()
# import turtle screen=turtle.Screen()
# pen=turtle.Pen() screen.bgcolor("pink")
# pen.write("嘻嘻嘻嘻嘻嘻嘻",font=('宋体',32,'normal')) lovesize=int(screen.textinput("标题","请输入爱心的半径"))
# turtle.done() pen.penup()
# import turtle pen.goto(100,-100)
# pen1=turtle.Pen() pen.write("诺依,你好",font=("楷体",20,"normal"))
# pen1.crcle(-50) pen1=turtle.Pen()
# turtle.done() pen1.pensize(5)
pen1.pencolor("red")
pen1.left(45)
pen1.forward(lovesize*2)
pen1.circle(lovesize,180)
pen1.right(90)
pen1.circle(lovesize,180)
pen1.forward(lovesize*2)
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