Python Tutorials

On this page, you’ll find a list of Python tutorials, broken down by their topics.

Python Lists

Python lists are mutable, heterogenous, and ordered data structures that are frequently used to store different types of data. In the tutorials below, you’ll learn a number of different helpful skills to be able to better understand, use, and manipulate Python lists. Lists are intuitive and approachable, making them an important skill to master.

Featured Python List Articles

The articles listed below are represent comprehensive guides to be able to better work with key features of Python lists.

List Comprehensions in Python (Complete Guide with Examples) allows you to understand a key feature of Python. Comprehensions represent a key way to loop over and manipulate lists, or to generate new lists in a readable and intuitive way.

Python List Tutorials

Python Dictionaries

Python dictionaries are a built-in data type that uses a key:value pair to store data. In other languages, similar data structures are known as associative arrays. They are ordered, changeable, and require keys to be unique.

Featured Python Dictionary Articles

Python Dictionary Comprehensions (With Examples) – learn all you need to know about how Python Dictionary Comprehensions work. Comprehensions represent a Pythonic way to generate new dictionaries, by iterating over different items and manipulating either (or both) the key or values of an array.

Python Dictionary Tutorials

Python Strings

Python strings are surrounded by single, double, or triple quotes and are immutable (meaning they need to be reassigned to be altered), are ordered (meaning they can be indexed) and are incredibly common ways to hold information. Because of this, knowing how to work with strings is an important skill for any Pythonista. The tutorials below will teach you common ways to work with strings, often describing many different ways to fit your own personal programming style!