I fixed the indentation and now get stuck in option 1 as option is not altered inside of the while loop.
Output:1: Add a Question
2: Delete a Question
3: List all FAQ
4: Exit
Please enter your selection: 1
Enter a question to be added: this
The answer to the question is: that
Your FAQ has been added.
Enter a question to be added:
But it if i enter the same questionOutput:Enter a question to be added: this
The answer to the question is: that
FAQ already exists
Your FAQ has been added.
Enter a question to be added:
it does report "Your FAQ has been added." after answer has been added, as the if statement is after both the question and answer input.