zjfz-2019-s393639/automata/Task201.py
2020-01-25 10:59:27 +01:00

6 lines
155 B
Python

#!/usr/bin/python
# -*- coding: utf-8 -*-
def is_initial_state_a_final_one(automaton):
return automaton.is_final_state(automaton.get_initial_state())