How do you check if a stack is empty in Python?
stack == []
len(stack) == 0
stack.empty()
stack.isEmpty()
This question is part of this quiz :