Python Delete Last Element In Array Python Question