What is the difference among list, tuple and dictionary? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA gƩnƩrative !
Essayez une leƧon gratuite
+ 2

What is the difference among list, tuple and dictionary?

Phyton

22nd Mar 2019, 2:43 PM
Babatunde Akinola
Babatunde Akinola - avatar
6 RĆ©ponses
+ 3
Thanks guys! I got to know they could be differentiated by their bracket type too... List has [] Tuple has () Dictionary has {}
22nd Mar 2019, 11:44 PM
Babatunde Akinola
Babatunde Akinola - avatar
+ 9
A picture can speak more than a thousand words and a video can speak more than million words Check this video https://youtu.be/W8KRzm-HUcc
22nd Mar 2019, 2:56 PM
Ashutosh Agrawal
Ashutosh Agrawal - avatar
+ 8
šŸ˜ŽšŸ˜ŽšŸ˜ŽšŸ˜Žthanks And nice explanation šŸ˜…
22nd Mar 2019, 3:06 PM
Ashutosh Agrawal
Ashutosh Agrawal - avatar
+ 5
Have you reached the lesson in Python course? Please click the Try It Yourself and experiment with the codes a little bit. Tuple has a sequence does not allow changing. List has a sequence and allows changing Dictionary are key value pairs.
22nd Mar 2019, 2:48 PM
Gordon
Gordon - avatar
+ 3
Nice sharing, Ashutosh Agrawal
22nd Mar 2019, 3:05 PM
Gordon
Gordon - avatar
+ 3
These are the different data types in Python. To check out these click this link https://www.youtube.com/playlist?list=PLwgFb6VsUj_lQTpQKDtLXKXElQychT_2j
28th May 2019, 10:55 AM
Mukul Rajpoot
Mukul Rajpoot - avatar