Python 3 Programming Tutorial - Lists and Tuples

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:

Python 3 Programming tutorial Playlist:


Welcome to my blog. My name is Akis Mparekas. I am a freelance web developer from Greece. At the same time I am taking my first steps in game development (unity) and animation (blender). I also create cool stuff, either for work or for fun. When I have time, I write tutorials and I blog.