https://365datascience.com/dwqa-answer/answer-for-error-in-python-code/ -
Hi Viraj,
thanks for reaching out! You need to define A, B and C, which represent the towers we want to stack. Try the following code before the def towers_of_hanoi:
A = [3,2,1]
B = []
C = []
Best,
Eli
#365datascience #DataScience #data #science #365datascience #BigData #tutorial #infographic #career #salary #education #howto #scientist #engineer #course #engineer #MachineLearning #machine #learning #certificate #udemy
No comments:
Post a Comment