+ 1
Is the counter variable an object?
why the notation of the point with variable node in the line 19 of this code? https://code.sololearn.com/cm4eSK58TK1Y/?ref=app
3 Answers
0
"node" is just a temporary name you use while iterating
+ 2
Ălvar Moraza no, the temporary thing is the name, you're still iterating through the list
0
but, how can it have a list as attribute? if the temporary variable disappear its list also do it.