Python 3 Programming Tutorial - Lists and Tuples

Veröffentlicht am: 07 Juli 2014
auf dem Kanal: sentdex
161,382
1.4k

In this programming tutorial, we cover Python lists and tuples.

Both data structures contain data, but are slightly different. Python lists are mutable, meaning they can be changed and manipulated. Tuples are immutable, meaning they cannot be changed. This is what sets them apart and why you would use a specific one. Lists are usually more popular, since people want to be able to change them, but tuples are also useful when you do not want or need to change the data.

It should also be noted that Tuples are faster to process and iterate through, so this gives them a bonus, again, if you are not needing to manipulate them.

Sample code for this basics series: http://pythonprogramming.net/beginner...

Python 3 Programming tutorial Playlist:    • Why Python 3? Python 2 vs Python 3  

http://seaofbtc.com
http://sentdex.com
http://hkinsley.com
  / sentdex  

Bitcoin donations: 1GV7srgR4NJx4vrk7avCmmVQQrqmv87ty6


Auf dieser Seite können Sie das Online-Video Python 3 Programming Tutorial - Lists and Tuples mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer sentdex 07 Juli 2014 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 161,382 Mal angesehen und es wurde von 1.4 tausend den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!