Commit a216657e by BellCodeEditor

save project

parent 4dd89796
Showing with 5 additions and 5 deletions
username = "cy" username = "cy"
userpassword = "nmsl" userpassword = "nmsl"
while True: while True:
name = input("输用户名:") name = input("给老子输用户名:")
password = input("输密码:") password = input("给老子输密码:")
if name == username and password == userpassword: if name == username and password == userpassword:
print("登录成功!") print("你给老子输入成功了!")
break break
if name != username: if name != username:
print("nmsl!用户错了!") print("nmsl!用户错了!")
continue continue
if password != userpassword: if password != userpassword:
print("nmsl!密码错了!") print("nmsl!密码错了!")
print("welcome to 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