Python Delete Last Element Of Array Python Methods String