input: Write a function to implement a basic chatbot in Python that responds to casual inquiries. The function should take a user input as a parameter, randomly select a response from a predefined list of possible answers, and return the selected response. The chatbot should also terminate the conversation when the user inputs 'Goodbye' by printing 'Chatbot: Goodbye!' and exiting the loop.
  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: def chatbot_response(user_input): 
      if user_input == 'Goodbye':
          print('Chatbot: Goodbye!')
          exit()
      response = random.choice(answers)
      return response