input: Write a function to implement a basic chatbot in Python that responds to casual inquiries by randomly selecting a response from a predefined list. If the user types 'Goodbye', the chatbot should terminate the conversation.
  
  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:
          response = random.choice(answers)
          return response
  
  import random
  
  # simple loop to keep the conversation going
  while True:
      user_input = input('You: ')
      print('Chatbot: ', chatbot_response(user_input))
      if user_input == 'Goodbye':
          break
  
  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('Goodbye') == 'Goodbye!'
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:
          response = random.choice(answers)
          return response