Developing Applications and Automating Workflows Using Cisco Platforms (DEVASC) — Question 463

Which Python data type resembles JSON data structures?

Answer options

Correct answer: B

Explanation

The correct answer is B, as a Python dictionary closely resembles the JSON object structure, using key-value pairs. Options A (list), C (string), and D (tuple) do not match the JSON format in the same way, as they do not support key-value pairing.