Commit 3758f5f6 by BellCodeEditor

save project

parent f6f772c8
Showing with 7 additions and 7 deletions
2 = 3 i = 3
username = "python" username = "hi"
userpassword = "123456" userpassword = "123456"
while True: while True:
if 1>0: if i>0:
name = input("请输入用户名:") name = input("请输入用户名:")
password = input("请输入密码:") password = input("请输入密码:")
i -= 1 i -= 1
...@@ -13,8 +13,8 @@ while True: ...@@ -13,8 +13,8 @@ while True:
print("username don't exsist") print("username don't exsist")
continue continue
if password != userpassword: if password != userpassword:
print(password wrong please try again) print("password wrong please try again")
else: else:
print("password wrong") print("password wrong acc lock come back an hour")
exit() exit()
print("welcome ") print("welcome")
\ No newline at end of file \ 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