Write a function in Python which takes a question string and returns the answer.
What is the capital of China?
def answer_question(question):
    if question == 'What is the capital of China?':
        return 'Beijing'
    else:
        return 'I don\'t know'