simple trivia question python

ans = input('1. questoin here\n')
if ans.lower() == 'answer to questoin here':

Here is what the above code is Doing:
1. It’s asking the user a question.
2. It’s storing the user’s answer in a variable called ans.
3. It’s checking if the user’s answer is correct.
4. If the user’s answer is correct, it prints “correct”.
5. If the user’s answer is incorrect, it prints “incorrect”.