input: def create_simple_chatbot() -> None:
      """ Create a simple chatbot using state machines in Python.
      The chatbot has predefined states and transitions based on user input.
      The bot will keep prompting the user until it reaches a terminal state.
      >>> create_simple_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:     state = "start"
      while True:
          if state == "start":
              print("Hello! How can I help you?")
              user_input = input(">> ").strip().lower()
              if "advice" in user_input:
                  state = "advice"
              else:
                  state = "unknown"
          elif state == "advice":
              print("Sure, what kind of advice do you need?")
              user_input = input(">> ").strip().lower()
              if "career" in user_input:
                  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.")
                  state = "end"
              else:
                  state = "unknown"
          elif state == "unknown":
              print("I'm not sure how to help with that. Goodbye!")
              break
          elif state == "end":
              print("Goodbye!")
              break