Commit 43280ccc by BellCodeEditor

save project

parent 0f45816a
Showing with 7 additions and 1 deletions
b=6
username = "20170904"
userpassword = "19481201"
while True:
if b>0:
name = input("给我输入用户名:")
password = input("给我输入密码:")
b=b-1
if name == username and password == userpassword:
print("登录成功!")
......@@ -13,5 +16,7 @@ while True:
else:
if password != userpassword:
print("密码错误!给我重新输入")
else:
print("**账号去世,请换一个")
exit()
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