what are nested tuples
PLEASE REPLY FAST....
Answers
Answered by
0
Answer:
In Python, a tuple written inside another tuple is known as a nested tuple. Let's consider a tuple having 7 elements as shown below. tup = ( 10, 20, 30, 40, 50, 60, (100, 200, 300)) Here, the last element consisting of 3 elements written within parentheses is called a nested tuple as it is inside another tuple.
Explanation:
I not sure whether this is the answer but I hope it helps
Similar questions