What is the difference between del and remove() on lists?

del removes all elements of a list within a given range

Syntax: del list[start: end]

remove() removes the first occurrence of a particular character

Syntax: list. Remove(element)


Note that in the range 1:3, the elements are counted up to 2 and not 3.