Skip to main content

removeAt

Removes a list item at index

removeAt(targetList, index)

Parameters#

  • targetList: The target list
  • index: The index of item needs to be removed

Returns#

  • No value

Example#

fruits = ['apple', 'banana', 'orange']removeAt(fruits, 1)print(fruits) # prints [apple, orange]