Commit 1cf28cfd by BellCodeEditor

save project

parent 36f27c26
Showing with 7 additions and 19 deletions
import turtle username = "python"
pen=turtle.Pen() userpassword = "123456"
pen.write("随便",font=("time",15,"normal")) name=input("请输入用户名")
pen.goto(100,-100) password=input("请输入密码")
pen.hideturtle() if username==name and userpassword==password:
# turtle.done() print("dengluchenggong")
screen=turtle.Screen() \ No newline at end of file
screen.bgcolor("green")
hide.turtle()
len=90
pen1=turtle.Pen()
pen1.left(45)
pen1.forword(2*len)
pen1.circle(len,180)
pen1.right(90)
pen1.circle(50,180)
pen1.forword(2*len)
turtle.done()
pen1.goto(100,-100)
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