Commit 841ac25f by BellCodeEditor

save project

parent ecf92916
Showing with 16 additions and 9 deletions
i=3
username = "cy"
userpassword = "nmsl"
while True:
name = input("给老子输用户名:")
password = input("给老子输密码:")
if name == username and password == userpassword:
print("你给老子输入成功了!")
break
elif name != username:
print("nmsl!用户错了!")
if i>0:
name = input("给老子输用户名:")
password = input("给老子输密码:")
i-=1
if name == username and password == userpassword:
print("你给老子输入成功了!")
break
if name != username:
print("nmsl!用户错了!")
continue
if password != userpassword:
print("nmsl!密码错了!")
else:
password != userpassword:
print("nmsl!密码错了!")
print("年轻人,你号没了!")
exit()
print("welcome nmsl !")
\ 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