Commit 237b0e4a by BellCodeEditor

save project

parent 5829012e
Showing with 7 additions and 2 deletions
......@@ -2,6 +2,7 @@ q = 3
username = "python"
userpassword = "123456"
while True:
if q>0:
name = input("请输入用户名:")
password = input("请输入密码:")
q -= 1
......@@ -10,9 +11,12 @@ while True:
break
if name != username:
print("名字有问题")
print("nhaiy"+str(q)+"min")
if password != userpassword:
print("密码有问题")
if q == 0
print("密码有问题")
print("nhaiy"+str(q)+"min")
else:
print("nsb")
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