Question: Dear I need help in python. Thank you 4. Your task is to perform muliple inheritance. You have two asses. 1ck and Linked-List as the
4. Your task is to perform muliple inheritance. You have two asses. 1ck and Linked-List as the base classes. The Stack base class would have push and pop functions. The Linked List would have insert node and delete node functions. The derived class, Structure would call one of the two classes to perform the function depending on the type of input data The Stack class would hande numeric data (intfloat, and double) only and Linked-List class would work on string data. Do not use any existing libraries for Stack or Linked List Also, you cannot use push, append, pop functions as well You have to write functions for that. For Linked List, you need to create a node and every node would be linked to the next incoming node. Please note, the code given is an outline for the system to be created. You may need to make some alterations in the function definitions, etc. Hint: You may need to create a Node class to store the element. Take reference from the already created classes Architecture: Stack Linked_List Structure class Stack): "description of class def-init(self, *args, ..kwargs): " write code return super)init (args, "kargs) def push(self): # write code pass def pop(self): # write code pass
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
