for printing the nodes in order from right to left
while ( len ( myStack ) > 0 ) : NEW_LINE INDENT temp = myStack [ - 1 ] NEW_LINE del myStack [ - 1 ] NEW_LINE print ( temp . data , end = " ▁ " ) NEW_LINE DEDENT