Home /
Expert Answers /
Computer Science /
please-answer-in-python-1-create-a-node-class-2-create-a-linked-list-class-init-self-self-h-pa142
(Solved): Please answer in python: 1. Create a Node class 2. Create a linked list class -__init_(self): self.h ...
Please answer in python:
1. Create a Node class 2. Create a linked list class -__init_(self): self.head \( = \) None def printList(self): def__str_(self): 3. Create three nodes with 1, 2, 3 as elements 4. Print the three nodes 5. Add ("link") the 3 nodes to the linked list 6. Print the linked list using printList( ) or___str__()