+ 2
How can i using stack in phyton ?
2 Answers
+ 2
It seems Python uses lists as stack. See this link:
https://docs.python.org/3.1/tutorial/datastructures.html
+ 2
You also can read Mark Lutz's "Programming Python", "Data structures" part. There are 3 different implementations of stack in this book.