Ask Question
4 July, 08:02

How are Python dictionaries different from Python lists? Python lists can store strings and dictionaries can only store words Python dictionaries are a collection and lists are not a collection Python lists are indexed using integers and dictionaries can use strings as indexes

+5
Answers (1)
  1. 4 July, 10:47
    0
    Python lists are indexed using integers and dictionaries can use strings as indexes

    Explanation:

    Python lists can store strings and dictionaries can only store words False

    Words are actually strings. This is false because Python dictionaries store strings.

    Python dictionaries are a collection and lists are not a collection False

    This is false because in Python lists are an ordered collection of items

    Python lists are indexed using integers and dictionaries can use strings as indexes True

    Python lists are an ordered collection of items. Indexing means referring to the position of the element and this is possible using integer for Python lists and strings for Python dictionaries.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “How are Python dictionaries different from Python lists? Python lists can store strings and dictionaries can only store words Python ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers