input: Write a function to create a basic chatbot in Python that responds to casual inquiries using a pre-defined list of possible answers. The function should randomly select a response from the list and return it. If the user input is 'Goodbye', the chatbot should break out of the conversation loop and print "Goodbye!".
  import random
  
  #list of possible answers 
  answers = ["That's a great question!", 
      "I'm not sure, but I'll try to find out!", 
      "That sounds interesting, tell me more!", 
      "I have no idea, sorry!"]
  
  def chatbot_response(user_input): 
      # get a random response from answers
      response = random.choice(answers)
      return response
  
  assert chatbot_response("How are you?") in answers
  assert chatbot_response("What's your favorite color?") in answers
  assert chatbot_response("Goodbye") in answers
  assert chatbot_response("Tell me a joke") in answers
output: def chatbot_response(user_input): 
      if user_input == "Goodbye":
          return "Goodbye!"
      response = random.choice(answers)
      return response