Question:
In Python, which of the following built-in data types is immutable?
पायथन में, निम्नलिखित में से कौन-सा अंतर्निहित डेटा प्रकार अपरिवर्तनीय (Immutable) है?
Options:
- Tuple
- List
- Dictionary
- Set
- टुपल (Tuple)
- लिस्ट (List)
- डिक्शनरी (Dictionary)
- सेट (Set)
Correct Answer: a)
Explanation:
In Python, Tuple, `int`, `float`, `str`, and `frozenset` are immutable (their contents cannot be modified in-place after creation), whereas lists, dicts, and sets are mutable (Option a).
पायथन में Tuple अपरिवर्तनीय (Immutable) होता है, जबकि List, Dict और Set परिवर्तनीय (Mutable) होते हैं (विकल्प a)।