Consider the following program.
def sample():
stack = []
return stack
What does the sample function return?
1
Creating a stack
2
Poping the elements from the stack
3
Pushing the elements from the stack
4
checks the stack is full or not
Consider the following program.
def sample():
stack = []
return stack
What does the sample function return?