Commit ce5dad62 by BellCodeEditor

save project

parent 1eb1c0d1
Showing with 3 additions and 2 deletions
...@@ -2,11 +2,11 @@ username="pythen" ...@@ -2,11 +2,11 @@ username="pythen"
usepassword="123456" usepassword="123456"
a=input("账号") a=input("账号")
b=input("密码") b=input("密码")
if a==username: if a==username and b==usepassword:
print("账号正确!") print("账号正确!")
else : else :
print("账号错误!") print("账号错误!")
if b==usepassword: if :
print("密码正确!") print("密码正确!")
else : else :
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