Dear Team, I am very lost with this step. Can you help me?? is there too many line in the if nested if Statement??
if paths[node] != [] and paths[node][-1] == node:
paths[node][-1] == node
paths[node] = paths[current]
And I am getting this error:
You should add paths[node] as the first condition to your nested if statement. Use the and operator to combine your conditions.
Thank you @Teller
All good with the issue n. 1.
For the issue number 2 (syntax issue) I am working on this sentence "ensure that paths[node] is non-empty. I removed the [node]
can you please use descriptive titles for your posts? you have many that are just titles “freeCodeCamp.org” but that doesn’t say anything of the content of your post
I am getting there…I am in FreeCodeCamp to learn and I am sorry if I am bothering you. I am going back to study what I learned so far…Apparently I need more time.
Thanks…