Help with classes, object and nodes | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Help with classes, object and nodes

Can someone please explain why is there an index passed in node_q ie why is it node_q[0] to access attributes of objects (parents, act, cost etc) https://code.sololearn.com/ch8h61GK3IQZ/?ref=app https://code.sololearn.com/ch8h61GK3IQZ/?ref=app

19th Feb 2020, 10:44 AM
FellowTerp
1 Answer
0
Have you read on basic concepts of object oriented programming?
19th Feb 2020, 3:32 PM
Da2
Da2 - avatar