. But -1 on .removeall() that
>> adds nothing to an easy listcomp.
>>
>> On Sun, Oct 21, 2018, 9:01 AM Siva Sukumar Reddy > wrote:
>>
>>> Hey everyone,
>>>
>>> I am really new to Python contribution community want to propose below
>>>
Hey everyone,
I am really new to Python contribution community want to propose below
methods for List object. Forgive me if this is not the format to send an
email.
1. *list.replace( item_to_be_replaced, new_item )*: which replaces all the
occurrences of an element in the list instead of writing