input: Write a function to design a basic chatbot in Python for responding to casual inquiries. The function should take a user input and return a random response from a predefined list of possible answers. Additionally, the function should include a simple loop to keep the conversation going until the user types 'Goodbye'.
  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))
  assert chatbot_response("How's the weather today?") 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 book?") 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("Who is your favorite actor?") 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