Computer Science, asked by ganeshkumar1281, 9 months ago

what is meaning of tuples in python programming language​

Answers

Answered by Anonymous
1

Answer:

A tuple is a collection of objects which ordered and immutable. Tuples are sequences, just like lists. The differences between tuples and lists are, the tuples cannot be changed unlike lists and tuples use parentheses, whereas lists use square brackets.

Answered by InzemanShah
0

Explanation:

A Tuple is a collection of Python objects separated by commas. In someways a tuple is similar to a list in terms of indexing, nested objects and repetition but a tuple is immutable unlike lists which are mutable. Note: In case your generating a tuple with a single element, make sure to add a comma after the element.

Similar questions