Learn Recursion by Solving the Tower of Hanoi Puzzle - Step 3

Tell us what’s happening:

Hey guys… I can’t find the right position for the range;-; what should I do?

Your code so far


# User Editable Region

range(3, 0, -1)rods = {
    'A': [],
    'B': [],
    'C': []
}

# User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36

Challenge Information:

Learn Recursion by Solving the Tower of Hanoi Puzzle - Step 3

From the requirement:

[…] assign it to rods['A']

What it means here, probably, is to substitute the value of A, currently [] for the result of the function range.

Maybe a search for it my help you
https://forum.freecodecamp.org/search?q=Puzzle%20step%203

You saved me again :smiley: Thank you a lot :slight_smile: