Question
Easy

In Python dictionary key value pairs are separated by:

1
:
2
#
3
!
4
$
Question Details
Time to Solve: 12
Exam: HTET
Level/Paper: Level 3
Chapter: Python Programming Fundamentals
Topic: Dictionary
Correct Answer
Option A
Explanation

The correct option is (1): Python dictionaries, a fundamental and highly efficient data structure, store data in an unordered, mutable collection of key-value pairs. When defining a dictionary using curly braces, the colon (:) is the mandatory separator used within each pair to map a unique key to its corresponding value. For example, in the dictionary person = {'name': 'Alice'}, the string 'name' is the key and the string 'Alice'…Read More