Commit 841ac25f by BellCodeEditor

save project

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