No products in the cart.

Write a python program to implement …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

Write a python program to implement a stack using a list data structure
  • 1 answers

Milind Pandey 3 years, 7 months ago

stack=[] #stack is only variable name we just created empty list c="y" while c="y": a=input("Enter the value to store in stack") stack.append(a) c=input("do you want to enter more") print(stack)
http://mycbseguide.com/examin8/

Related Questions

What are called tokens
  • 2 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App