I've been having issues with my programming homework, I'm trying to add a while statement, so if the user types in a response that the code doesnt understand, it will try again, when I compile the code it gets stuck on line 4 and 5, please help!
print('Enter your name...')
name = input()
print('Welcome to the game, Adventurer ' + name + '!')
path = 'none'
while path = none:
print('You walk down a corridor, do you go left or right?')
response = input()
if 'left' in response:
print('You take the left turn.')
path = 'left'
elif 'right' in response:
print('You take the right turn.')
path = 'right'
else:
print('Sorry, I didnt understand')
path = 'none'