Commit 11b7488a by BellCodeEditor

save project

parent 444540ab
Showing with 14 additions and 6 deletions
usrename = 'python'
userpassword = '123456'
a=input('输入账号')
q=input('密码')
if a==usrename and q==userpassword:
print('ok')
else:
print('ko')
while True:
a=input('输入账号')
q=input('密码')
if a==usrename and q==userpassword:
print('ok')
break
if a != usrename:
print('账号ko')
continue
if a !=userpassword:
print('密码ko')
print('sbsbsbsb')
\ 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