>>> li = ["sri", "s", "srikanth", "s"]
> And if I want to remove the last item ("s"), how do I remove it?
> li.remove(-1) doesn't do it. This is my problem.
>
> Thanks,
> Srikanth
>
li.pop() will remove the last element
Cyril
--
http://mail.python.org/mailman/listinfo/python-list
