Commit aab2b332 by BellCodeEditor

save project

parent 196610a3
Showing with 8 additions and 15 deletions
username="phthon" import turtle
userpassword="123456" pen=turtle.Pen()
while True: for i in range(1,300):
name=input("请输入账号") pen.forward(i)
password=input("请输入密码") pen.right(91)
if name==username and password==userpassword: pen.hideturtle()
print("登录成功") turtle.done()
break \ No newline at end of file
elif name!=username:
print("账号不存在,请重新输入")
else :
print("账号不存在,请重新输入")
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