🚀 Hurry! Offer Ends In
00 Days
00 Hours
00 Mins
00 Secs
Enroll Now
X

Python dictionary में data कैसे store होता है?

How is data stored in a Python dictionary?

A
Sequential / क्रमवार
B
Index based
C
Key-value pairs / कुंजी-मूल्य जोड़े
D
Only values
Explanation

In Python, a dictionary stores data as key-value pairs, where each unique key maps to a specific value.
Python में dictionary data को कुंजी-मूल्य जोड़े (key-value pairs) के रूप में संग्रहित करती है, जहाँ हर कुंजी एक विशिष्ट मान (value) से जुड़ी होती है।

Example / उदाहरण:

student = {"name": "Amit", "age": 20}

Here, "name" is a key and "Amit" is its value.
यहाँ "name" कुंजी है और "Amit" उसका मान है।

Correct Answer: C) Key-value pairs / कुंजी-मूल्य जोड़े

Latest Updates