input: Write a function to create a basic chatbot that responds to casual inquiries with random pre-defined responses. The function should return a response based on the user's input and exit the loop when the user inputs 'Goodbye'. If the given input is not 'Goodbye', the chatbot should continue the conversation by prompting for more input.
  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("What's your favorite color?") in answers
  assert chatbot_response("Tell me a joke") in answers
  assert chatbot_response("How does the weather look today?") in answers
  assert chatbot_response("I have a question about Python.") in answers
  assert chatbot_response("Goodbye") in answers
output: def chatbot_response(user_input):
      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!"]
      if user_input == "Goodbye":
          return "Goodbye"
      else:
          return random.choice(answers)