๐Ÿ“– Beginning Python Programming /
Module: List & Collection

list & tuple

๐Ÿ“– Beginning Python Programming / List & Collection / list & tuple

List operations

  • list.append(x)
  • list.extend([1,2,3,4,5])
  • list.insert(index, x)
  • list.remove(x)
  • list.index(x)
  • list.pop()
  • list.pop(index)
  • list.clear()