Tell us what’s happening:
I’m stuck because of site errors on step 12, Scientific computing with python, Tower of Hanoi Puzzle: there is a site error that does not recognize the move function!
Is there a way to overcome this site bug?
Your code so far
NUMBER_OF_DISKS = 3
number_of_moves = 2**NUMBER_OF_DISKS - 1
rods = {
'A': list(range(NUMBER_OF_DISKS, 0, move()-1)),
'B': [],
'C': []
}
def move():
print(rods)
# User Editable Region
move()
# User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0
Challenge Information:
Learn Recursion by Solving the Tower of Hanoi Puzzle - Step 12