मराठी
तामिळनाडू बोर्ड ऑफ सेकेंडरी एज्युकेशनएचएससी विज्ञान इयत्ता १२

What is the difference between List and Dictionary? - Computer Science

Advertisements
Advertisements

प्रश्न

What is the difference between List and Dictionary?

फरक स्पष्ट करा

उत्तर

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×