Lists in Python can be used as a stack: you add data to the end of the list using the 'append' methd

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

You can just do while data, no need for while len(data)

Viktor
Автор

😂😂 noob. That's nothing like a stack internally

enlgn