Commit 87085aa7 by BellCodeEditor

save project

parent ccd76176
Showing with 19 additions and 4 deletions
import turtle import turtle
A=100
screen=turtle.Screen()
screen.bgcolor("green")
pen1=turtle.Pen()
pen1.penup()
pen1.goto(100,-100)
pen1.write("八嘎呀路",font=("Times",20,"normal"))
pen=turtle.Pen() pen=turtle.Pen()
pen.hideturtle() pen.pencolor("red")
pen.write("你好,\n诺伊",font=("Times",30,"normal")) len=screen.textinput("提示","你要画一个多大的爱心")
turtle.done() B=int(len)
\ No newline at end of file pen.pensize(9)
pen.left(45)
pen.forward(2*B)
pen.circle(B,180)
pen.right(90)
pen.circle(B,180)
pen.forward(2*B)
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