Skip to main content

Create a tuple

Create an empty tuple

Access an element in a tuple

Access an element in a tuple using negative index

Access a range of elements in a tuple

Add an element to a tuple

Add an element to a tuple at a specific index

Remove an element from a tuple

Remove an element from a list at a specific index

Remove an element from a list using del

Remove all elements from a list

Check if an element is in a list

Get the length of a list

Sort a list

Sort a list in reverse order

Reverse a list

Copy a list

Join two lists

Join two lists using extend

Remove duplicates from a list

Set is a collection of unique elements. set is used to remove duplicates from a list.

Find the index of an element in a list