The values in a tuple are enclosed within
(i) ( )
(ii) [ ]
(iii) { }
(iv) None of these
please please help me
Answers
Answer:
A tuple consists of a number of values separated by commas. Unlike lists, however, tuples are enclosed within parentheses.
Concept Introduction:
Utilize tuples to hold a number of components in a single variable. A tuple is one of the built-up area data types in Python that can be used to hold data collections, together with Lists, sets, and dictionaries. Tuple offers a wide range of features and uses. The term "tuple" refers to an immutable, ordered collection.
Explanation:
We have been given a multiple-choice question.
We have to find the correct option.
In contrast to lists, tuples are ordered, immutable data lists. Because lists are mutable, you can alter their contents. Items are the individual values that make up a tuple. Tuples can hold any kind of data.
The values in a tuple are enclosed within
Final Answer:
The values in a tuple are enclosed within
#SPJ2