नीचे दिया गया ऑब्जेक्ट किस डेटा प्रकार का है?
What data type is the object below?
L=[1, 23, 'hello', 1] A
Lists
B
Dictionary
C
Tuples
D
Array
Explanation
The given object is:
L = [1, 23, 'hello', 1]
Explanation:
- The object
Lis enclosed in square brackets ([]), which denotes a list in Python. - A list in Python is an ordered collection that can contain items of different data types, including integers, strings, and others.
Answer:
(A) Lists
-
-
पायथन में स्क्वायर ब्रैकेट
[]का उपयोग लिस्ट को दर्शाने के लिए किया जाता है। लिस्ट में अलग-अलग प्रकार के डेटा (जैसे यहाँ integer और string) रखे जा सकते हैं।
-
Correct Answer: A) Lists