हिंदी
तमिलनाडु बोर्ड ऑफ सेकेंडरी एज्युकेशनएचएससी विज्ञान कक्षा १२

What is the difference between List and Dictionary?

Advertisements
Advertisements

प्रश्न

What is the difference between List and Dictionary?

अंतर स्पष्ट करें
Advertisements

उत्तर

List Dictionary
The list is an ordered set of elements. Dictionary is a data structure that is used for matching one element (Key) with another (Value).
The index values can be used to access a particular element. In the dictionary, a key represents an index and a key may be a number of a string.
Lists are used to look up a value. Dictionary is used to take one value and look up another value.
shaalaa.com
Introduction to List
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 9: Lists, Tuples, Sets and Dictionary - Evaluation [पृष्ठ १६९]

APPEARS IN

सामाचीर कलवी Computer Science [English] Class 12 TN Board
अध्याय 9 Lists, Tuples, Sets and Dictionary
Evaluation | Q 6. | पृष्ठ १६९
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×