Commit 5eb30b75 by BellCodeEditor

save project

parent f11321a2
Showing with 7 additions and 1 deletions
username = "python" # 保存在服务器数据库中的用户账号(正确的账号) username = "python" # 保存在服务器数据库中的用户账号(正确的账号)
userpassword = "123456" # 保存在服务器数据库中的用户密码(正确的密码) userpassword = "123456"
c=3
# 保存在服务器数据库中的用户密码(正确的密码)
while True: while True:
if c==0
print('恭喜你机会用完,账户锁定')
exit()
print('还剩'+str(c)+'次机会')
name=input('请输入用户名:') name=input('请输入用户名:')
password=input('请输入密码:') password=input('请输入密码:')
if name!=username: if name!=username:
......
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