Python

Important Methods in Python

Python Methods | List | Tuple | Set | Dictionary

List

  • append()
  • copy()
  • count()
  • insert()
  • reverse()
  • remove()
  • sort()
  • pop()
  • extend()
  • index()
  • clear()

Tuple

  • count()
  • index()

Set

  • add()
  • clear()
  • pop()
  • union()
  • issuperset()
  • issubset()
  • intersection()
  • difference()
  • isdisjoint()
  • setdiscard()
  • copy()

Dictionary

  • copy()
  • clear()
  • fromkeys()
  • items()
  • get()
  • keys()
  • pop()
  • values()
  • update()
  • setdefault()
  • popitems()