Commit c60b103d by BellCodeEditor

save project

parent 2e619e86
Showing with 8 additions and 3 deletions
...@@ -2,5 +2,10 @@ username = "python" # 保存在服务器数据库中的用户账号(正确 ...@@ -2,5 +2,10 @@ username = "python" # 保存在服务器数据库中的用户账号(正确
userpassword = "123456" # 保存在服务器数据库中的用户密码(正确的密码) userpassword = "123456" # 保存在服务器数据库中的用户密码(正确的密码)
c=input("账号是") c=input("账号是")
d=input("密码是") d=input("密码是")
if c==username and d==userpassword: while True:
print("正确") if c==username and d==userpassword:
\ No newline at end of file print("正确")
break
else:
print("账号或密码错误")
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