Commit 11b7488a by BellCodeEditor

save project

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