Code:
while True:
print('who are you')
name = input()
if name != (str('joe')):
continue
print('hello joe whats the password?')
if password == 'saltysea':
break
print ('access granted')
the code gets stuck when i input joe: it keeps asking "who are you"
Edit: heres what i did to get the intended result
password = '0'
while True:
print('who are you')
name=input()
if name != 'joe':
continue
print('hello joe whats the password?')
password=input()
if password == 'saltysea':
break
print ('access granted')
if name != (str('joe'))is redundant...'joe'is already a string!