Commit 11b7488a by BellCodeEditor

save project

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