Commit 53d34c08 by BellCodeEditor

save project

parent 3305bc69
Showing with 9 additions and 23 deletions
import turtle a="abc"
pen=turtle.Pen() b="123"
screen=turtle.Screen() c=input("名字:")
pen.fillcolor("red") d=input("密码:")
pen.penup() if a==c and b==d:
pen.goto(0,-100) print("正常")
pen.write("你好呀",font=("Times",20,"normal")) else:
pen.goto(0,0) print("错误")
pen.pendown() \ No newline at end of file
pen.begin_fill()
a=screen.textinput("提示","你想要多大?")
a=int(a)
screen.bgcolor("green")
pen.left(45)
pen.forward(a*2)
pen.circle(a,180)
pen.right(90)
pen.circle(a,180)
pen.forward(a*2)
pen.end_fill()
pen.hideturtle()
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