input: Write a python function to create and train a ChatBot using chatterbot with a given conversation list.
  assert train_chatbot(['Hello', 'Hi there!', 'How are you?', 'I am good', 'That is good to hear', 'Thank you']).get_response('How are you?').text in ['I am good']
  assert train_chatbot(['Hello', 'Hi there!', 'How are you?', 'I am good', 'That is good to hear', 'Thank you']).get_response('Hello').text in ['Hi there!']
  assert train_chatbot(['What is your name?', 'I am a bot', 'Who created you?', 'I was created by a programmer']).get_response('Who created you?').text in ['I was created by a programmer']
output: def train_chatbot(conversation):
      from chatterbot import ChatBot
      from chatterbot.trainers import ListTrainer
  
      chatbot = ChatBot('My ChatBot')
      trainer = ListTrainer(chatbot)
      trainer.train(conversation)
      
      return chatbot