It takes no parameter. If the deque is empty. It will return an “IndexError – pop from an empty deque“. This scenario is handled with try-except ...
確定! 回上一頁