Commit a63568bf by BellCodeEditor

save project

parent 194ce69a
Showing with 6 additions and 2 deletions
a= "giao" # 保存在服务器数据库中的用户账号(正确的账号)
b= "140604" # 保存在服务器数据库中的用户密码(正确的密码)
c="ksnek1249"
# 请用input()实现用户输入账号、密码的功能
while True:
A=input("请输入用户名:")
B=input("请输入密码:")
if A==a and B==b:
C=input("请输入验证码:")
if A==a and B==b and C==c:
print("登录成功!")
break
print('欢迎')
if A!=a :
print("账号错误")
if B!=b :
print("密码错误")
if C!=c:
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