Python Tutorial: Python Tuple Basics – Python Basics #14

///Python Tutorial: Python Tuple Basics – Python Basics #14

Python Tutorial: Python Tuple Basics – Python Basics #14

FavoriteLoadingAdd to favorites

In this Python Tutorial we cover the basics of the Python tuple if you need more information visit our website at

If you have any questions leave a comment and we will help you out.

Do not forget to subscribe

Fundamentals of the Python Tuple

In this Python tutorial, we will discuss the basics of the Python tuple which is another data type in the Python programming language. This is a brief introduction to Python tuples and they will be covered in full in a later section.

What is a Tuple?

A tuple is similar to a list but a tuple cannot be amended after it has been created which makes tuples immutable. Tuples are a sequence like a list so we would use the index to call our values. Tuples I would say are not used as much as list or dictionaries but they do bring some of their own value to the game since tuples cannot change after being created that helps protect the content from being overwritten or changed when our program runs. If your content will not change throughout the life of the program runs then use a tuple and if the content will change or has the possibility to change then you need to go to a list.

What is the Tuples Syntax?

We show to Python that we need to utilize a tuple by utilizing brackets( ) and much the same as list we separate information by commas.

Tuple Syntax

var = (213, 5643, “Red”, “Blue”)

var1 = (“TV”, “light”, “Cam”, “Seat”)

Some Tuple Examples

Underneath we will make a few tuples and appoint them to a variable. Take after along in your Python translator and when you are finished with our tuple cases attempt some all alone.

By |2017-06-11T01:55:57+00:00June 11th, 2017|Python Video Tutorials|3 Comments


  1. Deadalus DX June 11, 2017 at 2:24 am - Reply

    I love you man.

  2. arda hatunoglu June 11, 2017 at 2:36 am - Reply

    Thank you soo much!

  3. Mark Wiygul June 11, 2017 at 2:40 am - Reply

    A tuple can’t be changed, EVER!!! So, I think I’ll use a list instead. If I don’t want to change the list, I won’t! Thank you for the video

Leave A Comment