Write the push operation of stack containing names using class.
Advertisements
Advertisements
Question
Write the push operation of stack containing names using class.
Very Short Answer
Advertisements
Solution
The push() method adds a name to the top of the stack using append().
shaalaa.com
Is there an error in this question or solution?
