diff --git a/TaskB01/run b/TaskB01/run index b58ebfb..a359676 100644 --- a/TaskB01/run +++ b/TaskB01/run @@ -58,9 +58,12 @@ class automata: result = [] # if the node exists if self.graph[q]: + print(self.graph[q]) # search through all its connections to find value for connections in self.graph[q]: + print(connections) for value in connections: + print(value, i) if value == i: # append next node result.append(connections[value])