Hello, I was able to obtain the correct answer for this question; however, I was confused as to why a negative number was used instead of 2 being the difference between 3 to 1 or why a 1 could not be used?
I know that:
x = 3 bcuz that is our starting point
y = 0 bcuz its a # that is not included
but h ? the only reason I would assume its a negative is becuase we’re counting backwards on our list is that correct?
Can someone please explain this to me I would be grateful! Thank you!
Your code so far
# User Editable Region
rods = {
'A': [],
'B': [],
'C': []
}
rods['A']=range(x, y, h)
# 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/120.0.0.0 Safari/537.36
Challenge Information:
Learn Recursion by Solving the Tower of Hanoi Puzzle - Step 3