Commit f993e374 by BellCodeEditor

save project

parent 8b90fb5d
Showing with 19 additions and 10 deletions
import turtle
a = turtle.Pen()
a.circle(180,50)
a.
\ No newline at end of file
i=3
username='python' username='python'
userpassword='123456' userpassword='123456'
name = input("请输入用户名:") while True:
password = input("请输入密码:") if i>0:
if name == username and password == nserpassword: name = input("请输入用户名:")
print("登录成功!") password = input("请输入密码:")
\ No newline at end of file if name == username and password == userpassword:
print("登录成功!")
break
if name != username:
print("用户名不存在,请重新输入!")
print("温馨提示:您还有"+str(i)+"次登录机会!")
continue
if password != userpossword:
print("密码有误,请重新输入!")
else:
print("SB!这都整不开!大SB!")
exit()
print("欢迎来到贝尔编程!")
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