step = 1
def hano(a, b, c, n):
global step
if n == 1:
print("[STEP{:>4}] {}->{}".format(step, a, c)
step = 1
def hano(a, b, c, n):
global step
if n == 1:
print("[STEP{:>4}] {}->{}".format(step, a, c)