Commit cdfe9c8b by BellCodeEditor

save project

parent d2eeab39
Showing with 5 additions and 4 deletions
username = "巴嘉逸" username = "巴嘉逸"
userpassword = "123456" userpassword = "123456"
i=999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 i=3
while True: while True:
if i>0: if i>0:
print("你还有"+str(i)+"次机会") print("你还有"+str(i)+"次机会")
...@@ -11,9 +11,9 @@ while True: ...@@ -11,9 +11,9 @@ while True:
break break
if username!=name: if username!=name:
print("用户名错误") print("用户名错误")
i-=0 i-=1
if userpassword!=password: if userpassword!=password:
print("密码用户名错误") print("密码用户名错误")
i-=0 i-=1
else: 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