Commit a868848d by BellCodeEditor

save project

parent c1511155
Showing with 5 additions and 3 deletions
...@@ -2,9 +2,12 @@ a = "233" ...@@ -2,9 +2,12 @@ a = "233"
b = "123456" b = "123456"
while True: while True:
x=input("请输入账号:") x=input("请输入账号:")
y=input("请输入密码:") y=input("请输入密码:")
if x!=a:
print("账号错误!!!")
if y!=b:
print("密码错误!!!")
if x==a and y==b: if x==a and y==b:
print("密码正确") print("密码正确")
break break
print("错误!!!")
print("233") print("233")
\ 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