wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

“Lists and Tuples are ordered”. Explain.

Open in App
Solution

In Lists and Tuples, the items are retained in the order in which they are inserted. The elements can always be accessed based on their position. The element at the position or ‘index’ 0 will always be at index 0. Therefore, the Lists and Tuples are said to be ordered collections.

flag
Suggest Corrections
thumbs-up
13
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Finite and Infinite Set
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon