Commit 6ec3d6d6 by BellCodeEditor

save project

parent 4ce966e1
Showing with 21 additions and 0 deletions
i=3
username = "桃子汽水"
userpassword = "54188"
while True:
if i>0:
牛牛 = input("输名:")
猪猪 = input("输密码:")
i=i-1
if 牛牛 == username and 猪猪 == userpassword:
print("登录成功!")
break
if 牛牛 != username:
print("名错了,改!")
continue
if 猪猪 != userpassword:
print("码错了,改!")
else:
print("所住了,开不了")
exit()
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