Course: Learn to code from scratch with Python
Complete Python course from scratch to professional level: static typing with mypy, testing with pytest, and best practices from day one.
9 Lists in Python: your first data structure
A single variable can only hold one value. Lists hold as many as you need — and let you access, slice, and iterate over them with almost no ceremony.
10 List methods in Python: append, remove, and list comprehensions
A list you can't modify is just a tuple with extra steps. Learn to add, remove, and transform elements with the most important list methods — and write your first list comprehensions.