def deletionRear(myDeque): if not (isEmpty()): return myDeque.pop() # removing data from end of list else : print(“Deque empty”).
確定! 回上一頁