Difference In Stack And Queue In Python 3