Commit 701a014e by BellCodeEditor

save project

parent 9824d02b
Showing with 10 additions and 6 deletions
username = "科比"
userpassword = "54188"
name=input("你的名字叫什么啊?")
password=input("你的密码是什么啊?")
if username == name and userpassword == password
print("成功")
\ No newline at end of file
userpassword = "54188"
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