Commit 53ec5ef9 by BellCodeEditor

save project

parent 14789bdf
Showing with 9 additions and 4 deletions
username = "大帅哥" username = "大帅哥"
userpassword = "牛逼" userpassword = "牛逼"
i=2
while True: while True:
if i>0:
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: elif name != username:
print("用户名死了!请去天堂找ta!") print("用户名死了!请去天堂找ta!")
continue else:
if password != userpassword: print("密码成仙了!请去修仙!")
print("密码成仙了!请去修仙!") else:
print("傻逼!这都不知道!")
exit()
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