English

“Lists and Tuples are ordered”. Explain.

Advertisements
Advertisements

Question

“Lists and Tuples are ordered”. Explain.

Short/Brief Note
Advertisements

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.

shaalaa.com
Concepts of Tuples in Python
  Is there an error in this question or solution?
Chapter 10: Tuples and Dictionaries - Exercise [Page 224]

APPEARS IN

NCERT Computer Science [English] Class 11
Chapter 10 Tuples and Dictionaries
Exercise | Q 3. | Page 224
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×