Back to Browse

Lists in Python are easy 🐍

587 views
Feb 17, 2025
6:30

In this video, I will explain how to use lists in python. What are the differences between lists, sets, and tuples? A list is a collection of items that has an order. It can contain duplicates and is mutable. When something is mutable, it means that you can change it. So if something is immutable, it means you cannot change it once it is created. A set, on the other hand, is a collection of item where the order does not matter. It does not contain duplicates so if you add to an element that already exists in the set, the operation will be ignored. Sets are mutable as well. A tuple is immutable. It can contain duplicates and has an order to it just like a list. Check out my full 1 hour Python course (free on YouTube): https://www.youtube.com/watch?v=W4D50QimIZQ&t=5s

Download

0 formats

No download links available.

Lists in Python are easy 🐍 | NatokHD