Commit 831c11e6 by BellCodeEditor

save project

parent b810c294
Showing with 25 additions and 0 deletions
i = 0
username = "FAY"
userpassword = "SBSBSB"
while True:
if i<5:
name = input("请输入用户名:")
password = input("请输入密码:")
i += 1
if name == username and password == userpassword:
print("登录成功!d=====(^▽^*)b")
break
if name != username:
print("用户名(;´༎ຶД༎ຶ`)")
a=5-i
print("剩"+str(a)+"次")
continue
if password != userpassword:
print("密码(;´༎ຶД༎ຶ`)")
a=5-i
print("剩"+str(a)+"次")
else:
print("错惹错惹q(≧▽≦q)")
exit()
print("欢迎来到贝尔编程!U•ェ•*U")
\ 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