Commit e47ccd25 by BellCodeEditor

auto save

parent 8ea2838a
Showing with 11 additions and 23 deletions
import turtle un='SB'
screen=turtle.Screen() up='5418'
screen.bgcolor("light green") while True:
pen=turtle.Pen() n = input("请输入你的户名:")
pen.penup() p = input("密码:")
pen.goto(100,-100) if un == n and up == p:
pen.write("你\n\nwsp!",font=("Times",30,"normal")) print("登陆成功")
pen.hideturtle() break
print("你输入错误,你个傻逼")
print("欢迎光临")
p=turtle.Pen() \ No newline at end of file
a=screen.textinput("提示","lovesize")
len=100
p.pensize(5)
p.pencolor("red")
p.left(45)
p.forward(len*2)
p.circle(len,180)
p.right(90)
p.circle(len,180)
p.forward(len*2)
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