Multiple items can be stored in a single variable using tuples. Tuple is one of four built-in Python data types for storing collections of data; the other three are List, Set, and Dictionary, all of which have different properties and applications. A tuple is an ordered and unchanging collection.
Determine whether or not your data should be modified.
Tuples are more efficient than lists. If we're going to define a constant set of values that we'll only ever cycle through, we should use Tuple instead of List.
Tuples can be used to create an array of elements that can be used as dictionary keys.
Tuple is kept in a single memory block. A tuple is quicker to create than a list. Because two memory blocks must be accessed, creating a list takes longer. A tuple element cannot be removed or replaced.
Tuples are faster than lists since their values are constant. Because they hold immutable values like texts, numbers, and so on, tuples can be used as dictionary keys.
Learner's Ratings
4.5
Overall Rating
69%
19%
6%
6%
0%
Reviews
P
Prabhat Yadav
5
Superb and amazing 😍🤩 enjoyable experience.
N
Naveen Raj K
4
in dictionary session only there is half vedio available
S
S.Gokula kannan
5
Very good course in learn vern
S
Sathishkumar Balasubramaniyam
5
very good teaching
S
Subash Chandru
5
excellent teaching
S
Sneka Sneka
5
Good
3
31_NITHIYANANTHAM. P
5
Its super
4
41. Bhusnar Sajan
5
it is not learn english
P
Periyasamy M
5
Good
A
Antony Aswathi.N
4
Good
Show More
Recommended Courses
The Complete JavaScript Course - Beginner to Advance
Share a personalized message with your friends.