input: Write a function to design a basic chatbot in Python for responding to casual inquiries. The function should return random responses from a predefined list of answers and include a loop to keep the conversation going until the user inputs 'Goodbye'. If the given input is 'Goodbye', the chatbot should respond with 'Goodbye!' and terminate the conversation.
  
  
  assert chatbot_response("Hello") in ["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!"]
  assert chatbot_response("How are you?") in ["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!"]
  assert chatbot_response("What's your favorite color?") in ["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!"]
  assert chatbot_response("Goodbye") == "Goodbye!"
  
  
  ### Output:
  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
  
  # simple loop to keep the conversation going
  while True:
      user_input = input('You: ')
      if user_input == 'Goodbye':
          print('Chatbot: Goodbye!')
          break
      else:
          print('Chatbot: ', chatbot_response(user_input))
output: import random
  
  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): 
      if user_input == 'Goodbye':
          return 'Goodbye!'
      else:
          return random.choice(answers)