Understanding the Differences Between List, Tuple, Set, and Dictionary in Python

This tutorial explains the differences between List, Tuple, Set, and Dictionary in Python, including their syntax and use cases.

Understanding the Differences Between List, Tuple, Set, and Dictionary in Python
Kindson The Tech Pro
177.4K views • Dec 26, 2018
Understanding the Differences Between List, Tuple, Set, and Dictionary in Python

About this video

This Tutorials explains the difference between List, Tuple, Set and Dictionary in Python

# DIFFERENCE BETWEEN
# LIST - square braces
# TUPLE - rounded braces
# SET - The set keyword
# DICTIONARY - curly braces: made up of key-value pairs

list1 = ["Computer", "Printer", "TV", "Camera", 89, 30.8]

tuple1 = ("Computer", "Printer", "TV", "Camera", 89, 30.8)

set1 = set(["Computer", "Printer", "TV", "Camera", 89, 30.8])
dict1 = {
1: "Monday",
2: "Tuesday",
3: "Wednesday"
}

Written explanation here:
https://www.kindsonthegenius.com/difference-between-list-tuple-set-and-dictionary-in-python/

For all tutorials visit: http://www.kindsonthegenius.com

Subscribe Kindson The Tech Pro Youtube: https://bit.ly/2PpJd8Q
Join my group ICS on Facebook: https://bit.ly/2UULiQj
Follow me on Instagram - https://www.instagram.com/kindsonm/
Connect with me on LinkedIn: https://www.linkedin.com/in/kindson/
Follow me on Twitter: https://twitter.com/KindsonM
Learn about me: http://www.kindsonthegenius.com

Tags and Topics

Browse our collection to discover more content in these categories.

Video Information

Views

177.4K

Likes

3.4K

Duration

11:57

Published

Dec 26, 2018

User Reviews

4.7
(35)
Rate:

Related Trending Topics

LIVE TRENDS

Related trending topics. Click any trend to explore more videos.