How To Index Last Element In Python