Welcome to the Artificial Intelligence & Data Analytics Program
Today’s Topic
Stacks in Python - The Secret Behind Undo/Redo
Prepared for: Red Deer Polytechnic


Jomis John
AI Program Architect— STEM AI Studio Inc.
AI Solutions Architect— BlueBlockss Canada
Quick Question: Who Here Uses Undo?
Type “Y” in the chat if you’ve used Ctrl+Z / Undo this week.


Live Coding: Implementing a Stack Using a Python List
How Python uses a list to simulate a stack (LIFO).
Every stack operation in Python maps to a simple list operation — append, pop, indexing, and len(). That’s how Python turns a list into a stack
STEM AI Studio Inc.
Empowering high schoolers and educators to learn AI the simple, creative way.
Programs
Resources
Connect
Student Projects
