Difference Between List, Tuple, Set and Dictionary in Python

Published: 26 December 2018
on channel: Alkademy Learning
189,291
3.5k

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/diff...

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 -   / kindsonm  
Connect with me on LinkedIn:   / kindson  
Follow me on Twitter:   / kindsonm  
Learn about me: http://www.kindsonthegenius.com


On this page of the site you can watch the video online Difference Between List, Tuple, Set and Dictionary in Python with a duration of hours minute second in good quality, which was uploaded by the user Alkademy Learning 26 December 2018, share the link with friends and acquaintances, this video has already been watched 189,291 times on youtube and it was liked by 3.5 thousand viewers. Enjoy your viewing!