zjfz-2019-s439462/automata/Task201.py
2020-01-25 09:25:34 +01:00

3 lines
120 B
Python

def is_initial_state_a_final_one(automaton) -> bool:
return automaton.is_final_state(automaton.get_initial_state())