Tell us what’s happening:
I can not generate the list counting down from 3 to 1 with range. What is the problem ? Thank you.
Your code so far
# User Editable Region
rods = {
'A': [(range(3, 0, -1))],
'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/132.0.0.0 Safari/537.36
Challenge Information:
Learn Recursion by Solving the Tower of Hanoi Puzzle - Step 3