Skip to main content

Create a dictionary

Create an empty dictionary

Access an element in a dictionary

Access an element in a dictionary using negative index

Access a range of elements in a dictionary

Add an element to a dictionary

Add an element to a dictionary at a specific index

Remove an element from a dictionary

Remove an element from a dictionary at a specific index

Remove an element from a dictionary using del

Remove all elements from a dictionary

Check if an element is in a dictionary

Get the length of a dictionary

Sort a list

Sort a list in reverse order

Reverse a list

Copy a list

Join two lists

Join two dictionaries using update

Remove duplicates from a dictionary

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

Find the index of an element in a dictionary