KnowledgeBoat Logo
|

Robotics & Artificial Intelligence

Which of the following data types would be used in Python to store values in terms of key and value?

  1. list
  2. tuple
  3. dictionary
  4. String

Python Funda

3 Likes

Answer

dictionary

Reason — In Python, a dictionary is an unordered set of elements where data is stored as "Key:Value" pairs, enclosed within curly brackets { }.

Answered By

3 Likes


Related Questions