Commit 068182b3 by BellCodeEditor

save project

parent 0783a7e9
Showing with 11 additions and 9 deletions
username = "wqy2011a"
userpassword = "w2011.10.18"
name = input("请输入用户名")
password = input("请输入密码")
if name == username and password == userpassword:
print("登录成功!")
else:
print("登录失败")
\ No newline at end of file
username = "wqydzh"
userpassword = "balalaxiaomouxian,wukalaka,heimofabianshen!jiuranwohuimieshijieba,haha!"
while True:
name = input("请输入用户名:")
password = input("请输入密码:")
if name == username and password == userpassword:
print("登录成功😊")
break
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