Python/QuickRef: Difference between revisions

From Fundamental Ramen
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
! list || set || dict  
! list || set || dict  
|-
|-
| || ||
|
* append(x)
* extend(iter)
* insert(i, x)
* remove(x)
* pop([i])
* clear()
* index(x)
* count()
* sort()
* reverse()
* copy()
|
|
|}
|}

Revision as of 06:43, 28 January 2021

list set dict
  • append(x)
  • extend(iter)
  • insert(i, x)
  • remove(x)
  • pop([i])
  • clear()
  • index(x)
  • count()
  • sort()
  • reverse()
  • copy()