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

### Tell us what’s happening:

I have tried this 10 different ways and nothing works, what is going on here? I tried (more than just these, but mainly these):

``` rods = { 'A': [], 'B': [], 'C': [] } rods[A] = range[3,1,1] ``` ,

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

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

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

so I’m at a total loss

``````
# User Editable Region

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

# User Editable Region

``````

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

### Challenge Information:

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

That’s not the correct syntax for `range()`, functions use round brackets.

1 Like

other than needing to call the function `range` with round brackets like said above, you have also not been asked to put the output of `range` in a list, remove the outer square brackets

1 Like

Thank you, you are right, I had somehow missed that parenthesis, and also the extra code which I was gussing at. Thanks to both for your help I appreciate it

1 Like