The program is suppose to create and account but if the passwords do not match after the 3rd iteration it's suppose to output that its been too many tries and end the program... I can't seem to figure this out any help would be greatly appreciated.
while 3:
print ("Welcome to yor account creation")
name =input('Enter your name: ')
pasw =input('Enter your password: ')
paswr =input('Re-enter your password: ')
if pasw == paswr:
print ("Your account has been created")
break;
if pasw != paswr:
print ("Please re-enter information")
if while <=3:
print ("Too many incorrect tries, your account has not been created")