diff --git a/TaskB01/run b/TaskB01/run index afba5bb..c6c5a4b 100644 --- a/TaskB01/run +++ b/TaskB01/run @@ -21,6 +21,7 @@ class automata: def test_string(self, text): self.state = '0' + text = text.replace('\n', '') for i in text: self.state = self.get_node_transition([self.state, i]) if self.state == None: