zjfz-2019-s402281/automata/Task201.py

10 lines
189 B
Python
Raw Normal View History

2020-01-25 08:50:29 +01:00
#!/usr/bin/python
# -*- coding: utf-8 -*-
2020-01-25 08:56:06 +01:00
"""
Rozwiązanie zadania 201
"""
2020-01-25 08:50:29 +01:00
def is_initial_state_a_final_one(automaton):
return automaton.is_final_state(automaton.get_initial_state())