Learn how to use Python to convert a dictionary into a list of tuples, using list comprehensions, the zip function, and collections.
Learn how to use Python to pretty print a dictionary using the pprint and json libraries, including nested dictionaries and saving to a file.
Learn how to check if a Python dictionary is empty, including five different ways to do this, including using simple booleans and its length.
Learn how to use Python to check if a key (or a value) exists in a dictionary in a safe way, using the get method, in operator, and more!
Learn how to use Python to get the dictionary key with the max value, including when the max value is in multiple keys.
Learn how to remove a Python dictionary key, using the pop method, the del keyword, and how to remove multiple Python dictionary keys.
Learn how to use Python to pretty print a JSON object, including from a file, from an API, and how to save the pretty output to a file.