0

Can anybody tell me what is node in Algorithms?

17th Jul 2020, 7:38 AM
Shafayet Arish
Shafayet Arish - avatar
8 odpowiedzi
+ 3
I've never heard term "node" with Python. It is more used with markup languages, where it refers to a collection of elements (tags).
17th Jul 2020, 7:56 AM
Seb TheS
Seb TheS - avatar
+ 3
A node in python is a container in a linked list, its also a programmer made class. each node has two attributes: cargo - the value or values the node is holding next - the next node in the linked list the current node is linked to.
17th Jul 2020, 9:32 AM
Slick
Slick - avatar
+ 2
If node term was actually used with python it could refer to the indented blocks after colons : . if condition: this is node I self use term "code block".
17th Jul 2020, 9:27 AM
Seb TheS
Seb TheS - avatar
+ 1
Node is a tag, which contains other tags or text. <html> <head> <title> Some title </title> </head> <body> <p> Some paragraph <p> </body> </html> Here: html is the node of tags head and body. head is the node of tag title. body is the node of tag p. title is the node of text "Some title". p is the node of text "Some paragraph".
17th Jul 2020, 8:29 AM
Seb TheS
Seb TheS - avatar
0
explain me that
17th Jul 2020, 8:21 AM
Shafayet Arish
Shafayet Arish - avatar
0
It didn’t help
17th Jul 2020, 9:01 AM
Shafayet Arish
Shafayet Arish - avatar
0
If you're talking about node.js, then it's a Javascript framework, and it has nothing to deal with python.
17th Jul 2020, 9:20 AM
Théophile
Théophile - avatar