Free YouTube views likes and subscribers? Easily!
Get Free YouTube Subscribers, Views and Likes

Learn Python • #8 Tuples and Sets • More Ways To Store Data!

Follow
pixegami

Tuples and Sets are two important data structures in Python that you'll definitely want to know about.

Tuples are immutable sequences of elements, typically used for grouping related data.

Sets, on the other hand, are mutable collections of unique elements. With Sets, it's easy to check if an item is inside that collection. It's also easy to do mathematical operations like "intersection" (finding common elements between two sets) and "union" (finding all elements of two combined sets).

This video is part of a beginner tutorial series for anyone who wants to learn Python from scratch, and get to a point where you can start coding your own projects.

Project Code (GitHub): https://github.com/pixegami/pythonfo...
Full Playlist:    • Python For Beginners (Full Course)  
Next Chapter: Coming Tomorrow!
Follow me on Twitter: @pixegami

Chapters
00:00 Tuples vs Lists
01:58 Tuple Syntax in Python
03:36 Handson Coding with Tuples
05:45 Using Tuples as a Dict Key
08:02 Sets in Python
14:28 Coding Exercise: Tuples and Sets

posted by veros2j