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

Tell us what’s happening:

I cant understand what I am doing wrong here. Can anybody Help?

Your code so far


# User Editable Region

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

# 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/127.0.0.0 Safari/537.36

Challenge Information:

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

If you print type('A') you’ll get str as 'A' is a string. You want to access the 'A' key of rods and print the type of that value instead.