Python Tutorial v3.2.5 Lesson 23.4 - Tuple Data Type

preview_player
Показать описание
1:20 Skip the introduction to Lesson 23.4
2:52 Skip introductory list creation and skip directly to tuples.
6:08 Skip to the creation of a small program exemplifying tuples.
There is no Challenge Program for Lesson 23.4

Lesson 23.4 introduces the Tuple data type and compares it to a list variable. Lists and Tuples share many commonalities: they are both considered a single value by Python, they both can contain an infinite amount of data, and elements in these data types can be accessed using index notation. The main difference has to do with the mutability of the two data types. A list variable is mutable while a tuple is not. Finally, a short program will be developed explaining how a tuple is created when a return statement is asked to return multiple pieces of information, unless specifically told to return a list.

This is an introductory series of Python tutorials. This course, from start to finish, is designed to help someone who has never programmed before learn the basics of coding in Python. As this series continues, we examine more advanced Python techniques, functions, and methods.

Keep in mind this tutorial is using an older version of Python, v3.2.5. You will need to click on the "View Older Releases" button to use this specific version. Using the newer versions will not be an issue at this point, but when the lesson proceeds to basic graphics, the Pygame Module we'll use does not support v3.3+ at this time.
Рекомендации по теме
Комментарии
Автор

Hi Steve... could you please share the link where I can view your python tutorials sequentially from beginning...

sanamohanreddy
Автор

@sana_mohanreddy,

The link to the Python Tutorial playlist is here:


This will take you to the playlist where each video is ordered sequentially from the first video. Hopefully that helps out. As always, thank you for watching.

xnavysteve
visit shbcf.ru