Commit e6464007 by BellCodeEditor

save project

parent 2499fafa
Showing with 8 additions and 1 deletions
username = "python" # 保存在服务器数据库中的用户账号(正确的账号) username = "python"
i=3 # 保存在服务器数据库中的用户账号(正确的账号)
userpassword = "123456" # 保存在服务器数据库中的用户密码(正确的密码) userpassword = "123456" # 保存在服务器数据库中的用户密码(正确的密码)
while True: while True:
if i>0:
i-=1
name=input("你的账号是神马") name=input("你的账号是神马")
dgfy=input("你的密码是神马") dgfy=input("你的密码是神马")
if username==name and userpassword==dgfy: if username==name and userpassword==dgfy:
...@@ -10,5 +13,8 @@ while True: ...@@ -10,5 +13,8 @@ while True:
print("zhanghao错,重输") print("zhanghao错,重输")
else: else:
print("mima错,重输") print("mima错,重输")
else:
print(guigui)
exit()
print("傻逼") print("傻逼")
# 请用input()实现用 # 请用input()实现用
\ 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