Python - 018 : What is Tuple in Python ?

Published: 28 June 2023
on channel: The Digital Folks
2,015
50

Python Tuple Data Type
Python tuple is another sequence data type that is similar to a list. A Python tuple consists of a number of values separated by commas. Unlike lists, however, tuples are enclosed within parentheses.

The main differences between lists and tuples are: Lists are enclosed in brackets ( [ ] ) and their elements and size can be changed, while tuples are enclosed in parentheses ( ( ) ) and cannot be updated. Tuples can be thought of as read-only lists.


On this page of the site you can watch the video online Python - 018 : What is Tuple in Python ? with a duration of hours minute second in good quality, which was uploaded by the user The Digital Folks 28 June 2023, share the link with friends and acquaintances, this video has already been watched 2,015 times on youtube and it was liked by 50 viewers. Enjoy your viewing!