diffrent ways to create a tuple .
whom answer this question plz tell your class also.
Answers
Answered by
0
A tuple is created by placing all the items -elements- inside parentheses, and is separated by the commas.
A tuple can have any number of items.
They can be any different type.
In Python, tuples are sequences, just like lists.
The only differences are tuples however can't be changed, and which lists can. Tuples also use parentheses and lists usually use square brackets.
Similar questions
Math,
6 months ago
Math,
6 months ago
Math,
6 months ago
World Languages,
11 months ago
Biology,
11 months ago