'hm'
This commit is contained in:
parent
cf8393ebe0
commit
af3915c683
@ -21,7 +21,7 @@ class automata:
|
|||||||
|
|
||||||
def test_string(self, text):
|
def test_string(self, text):
|
||||||
self.state = '0'
|
self.state = '0'
|
||||||
text = text.replace('\n', '')
|
text = text.replace('\n', '')
|
||||||
for i in text:
|
for i in text:
|
||||||
self.state = self.get_node_transition([self.state, i])
|
self.state = self.get_node_transition([self.state, i])
|
||||||
if self.state == None:
|
if self.state == None:
|
||||||
|
Loading…
Reference in New Issue
Block a user