username='wzt01'
password='abc123'
count=0
while count<3:
count+=1
access_name=input('請輸入賬號:')
access_pass=input('請輸入密碼:')
if access_name=='wzt01' and access_pass=='abc123':
print('賬號密碼正確')
break
elif count==3:
print('login failed')
else: print('賬號密碼錯(cuò)誤,請重新輸入:\n')