title: How are finite automata implemented in code?
body: <p>How does one implement a <strong>DFA</strong> or an <strong>NFA</strong> for that matter in Python code?</p>
  <p>What are some good ways to do it in Python? Are they ever used in real world projects?</p>