Commit 51b7c72e by BellCodeEditor

save project

parent 2cc5ce1c
Showing with 7 additions and 4 deletions
name= 'python'
password= '123456'
username = input("请输入账号:")
userpassword = input("请输入密码:")
while True:
username = input("请输入账号:")
userpassword = input("请输入密码:")
if name==username and password==userpassword:
print("用户密码正确,登陆成功!")
break
print("您好,您的账号yiyi")
\ No newline at end of file
if name!=username :
print("您好,您的账号已被锁定,特警马上赶到抓捕你!!")
if password!=userpassword :
print("您好,您的密码已被举报,请自首")
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