Computer Science

Fill in the blanks:

Consider the following operations done on Stack:

push(5)

push(8)

pop()

push(2)

push(5)

pop()

pop()

pop()

push(1)

pop()

The output of the above snippet is _________.

Python Stack

1 Like

Answer

[], empty list

Answered By

1 Like


Related Questions