input: Write a function to create a basic chatbot in Python that responds to casual inquiries. The chatbot should randomly choose a response from a predefined list of answers. If the user types 'Goodbye', the chatbot should terminate the conversation. The function should be named chatbot_response which takes a user's input as a parameter and returns a randomly selected response from the list.
  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): 
      response = random.choice(answers)
      return response
  
  while True:
      user_input = input('You: ')
      if user_input == 'Goodbye':
          print('Chatbot: Goodbye!')
          break
      else:
          print('Chatbot: ', chatbot_response(user_input))
  
  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("What's up?") 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("Tell me a joke") 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") 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!"]
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!"]
      response = random.choice(answers)
      return response