Commit e47ccd25 by BellCodeEditor

auto save

parent 8ea2838a
Showing with 11 additions and 23 deletions
import turtle
screen=turtle.Screen()
screen.bgcolor("light green")
pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
pen.write("你\n\nwsp!",font=("Times",30,"normal"))
pen.hideturtle()
p=turtle.Pen()
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
un='SB'
up='5418'
while True:
n = input("请输入你的户名:")
p = input("密码:")
if un == n and up == p:
print("登陆成功")
break
print("你输入错误,你个傻逼")
print("欢迎光临")
\ 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