I'm finding it difficult to break a while loop when a user inputs an 'N', it only accepts a 'Y'. Inputting an 'N' will still activate the second while loop.
How do I write such that once user inputs N, the while loop breaks? Thank you in advance :)
choice = 'Y'
while choice == 'Y':
choice = input('Would you like to continue? (y/n): ').upper()
# it breaks at this point
while (choice != 'Y') or (choice != 'N'):
choice = input('Please choose Y for yes, or N for no!: ').upper()