Commit 9e908490 by BellCodeEditor

save project

parent 3858e8ad
Showing with 8 additions and 15 deletions
username = "藕丝你爸" # 保存在服务器数据库中的用户账号(正确的账号) username = "藕丝你爸" # 保存在服务器数据库中的用户账号(正确的账号)
userpassword = "114514" # 保存在服务器数据库中的用户密码(正确的密码) userpassword = "114514" # 保存在服务器数据库中的用户密码(正确的密码)
o=input('输入名字:')
r=input('请输入号码:')
# 请用input()实现用户输入账号、密码的功能
while 3: # 请用input()实现用户输入账号、密码的功能
while True:
o=input('输入名字:')
r=input('请输入号码:')
if userpassword==r and username==o: if userpassword==r and username==o:
print('ni') print('ni')
print('恭喜你登录了') print('恭喜你登录了')
break break
if r != userpassword if r != userpassword:
print('细狗你行不行啊') print('细狗你行不行啊')
break
if o != username: if o != username:
print('逊') print('逊')
break
if r != userpassword: if r != userpassword:
print('你ma') print('你ma')
break
# 如果用户输入的账号、密码正确,提示登陆成功
\ 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