input: 
  def run_chatbot() -> None:
      """Executes a simple chatbot using state diagrams. The chatbot transitions between 
      states based on user input and prints out messages corresponding to each state.
      At the end of the conversation, it prints the entire conversation history.
      >>> run_chatbot()
      Hello! How can I help you?
      >> I need some advice
      Sure, what kind of advice do you need?
      >> Career advice
      It is always a good idea to research the field you are interested in and creating a plan to learn the skills 
      that are required. Make sure to contact professionals in the field to understand their experience.
      Goodbye!
      =========================
      Conversation:
      Hello! How can I help you?
      I need some advice
      Sure, what kind of advice do you need?
      Career advice
      It is always a good idea to research the field you are interested in and creating a plan to learn the skills that are required. Make sure to contact professionals in the field to understand their experience.
      """
  
output:     conversation_history = []
      current_state = "start"
  
      while True:
          if current_state == "start":
              print("Hello! How can I help you?")
              conversation_history.append("Hello! How can I help you?")
              user_input = input(">> ").strip().lower()
              conversation_history.append(user_input)
              if "advice" in user_input:
                  current_state = "ask_advice_type"
              else:
                  current_state = "end"
  
          elif current_state == "ask_advice_type":
              print("Sure, what kind of advice do you need?")
              conversation_history.append("Sure, what kind of advice do you need?")
              user_input = input(">> ").strip().lower()
              conversation_history.append(user_input)
              if "career" in user_input:
                  current_state = "career_advice"
              else:
                  current_state = "end"
  
          elif current_state == "career_advice":
              print("It is always a good idea to research the field you are interested in and creating a plan to learn the skills that are required. Make sure to contact professionals in the field to understand their experience.")
              conversation_history.append("It is always a good idea to research the field you are interested in and creating a plan to learn the skills that are required. Make sure to contact professionals in the field to understand their experience.")
              current_state = "end"
  
          elif current_state == "end":
              print("Goodbye!")
              conversation_history.append("Goodbye!")
              break
  
      print("=" * 20)
      print("Conversation:")
      for line in conversation_history:
          print(line)