CBSE Class 12 Computer Science Question 28 of 63

Data Structures in Python — Question 2

Back to all questions
2
Question

Question 2

List two ways to implement Stack.

Answer

The two ways to implement Stack are as follows :

  1. Stack = list()
  2. Stack = []