Class 12 Computer Science Data Structure in Python Handout Table of Contents Data structure in Python What is Stack Operations on Stack Working with stack using list. Practice Questions – Part 1 Practical Implementation of stack using list What is Queue? Operations on Queue Queues in daily life Working with queue using list Practice Questions … Read more
Write push(rollno) and pop() method in python:
push(rollno) –add roll number in Stack
pop() — remove roll number from Stack.