English

Write any two examples of pop operation.

Advertisements
Advertisements

Question

Write any two examples of pop operation.

Very Short Answer
Advertisements

Solution

For stack [100, 200, 300]:

  1. First pop() removes 300.
  2. The next pop() removes 200.
shaalaa.com
  Is there an error in this question or solution?
Chapter 6: Stacks & Queues in list - EXERCISE [Page 123]

APPEARS IN

CBSE Computer Science with Python [English] Class 12
Chapter 6 Stacks & Queues in list
EXERCISE | Q 17. | Page 123
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×