If you want to accept anything that starts with a y or Y you could use
if question.lower().startswith("y"):
2.1m questions
2.1m answers
60 comments
57.0k users