In Python, .......... is the type of sequence that resembles a list, except that, unlike a list, it is immutable.
पायथन में .......... एक प्रकार का अनुक्रम है जो एक सूची जैसा दिखता है, सिवाय इसके कि, एक सूची के विपरीत, यह अपरिवर्तनीय है।
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: D. Tuple
Explanation
A tuple is an ordered sequence like a list but immutable: (1, 2, 3) cannot be changed after it is created. A list [1, 2, 3] is mutable.
टपल लिस्ट जैसा क्रमबद्ध अनुक्रम है पर अपरिवर्तनीय (immutable) है — (1, 2, 3) बनने के बाद बदला नहीं जा सकता; लिस्ट [1, 2, 3] परिवर्तनीय है।
More Programming Concepts & Python questions
- .......... is a set of rules for carrying out some calculation either by hand or by machine.
- Which procedure is characterized by the fact that the procedure calls itself again and again till the base condition is met?
- If a class contains at least one pure virtual function, it is called as ............. class.
- Tuples in Python are :
- In python elements of the list are written inside :
- Pictorial representation of an algorithm is called as :