Computer Science, asked by vermapb10, 6 months ago

What is the correct syntax to write delete function in lists?

Answers

Answered by Anonymous
4

Answer:

remove() is an inbuilt function in Python programming language that removes a given object from the list. It does not return any value.

Syntax:

list_name.remove(obj)

Parameters:

obj - object to be removed from the list

Returns:

The method does not return any value

but removes the given object from the list.

Note:It removes the first occurrence of the object from the list.

Similar questions