So I am going back to basics with Python, after a long stint in JS. And I just something out which goes against what I thought it would do.
I have the following code:
name = ''
while name != 'your name' or 'your name.':
print('Please type your name.')
name = input()
print('Thank you!')
However, when I run the script, and input either 'your name'
or 'your name'
the script just keeps looping and doesn't come out of the loop.
I am confused.