Lines Matching defs:report
18 # as temporary. For each move, call report()
19 def hanoi(n, a, b, c, report):
21 hanoi(n-1, a, c, b, report)
22 report(n, a, b)
23 hanoi(n-1, c, b, a, report)
81 hanoi(self.n, 0, 1, 2, self.report)
82 hanoi(self.n, 1, 2, 0, self.report)
83 hanoi(self.n, 2, 0, 1, self.report)
84 hanoi(self.n, 0, 2, 1, self.report)
85 hanoi(self.n, 2, 1, 0, self.report)
86 hanoi(self.n, 1, 0, 2, self.report)
89 def report(self, i, a, b):