How To Implement A Stack In Python