When you nest one or more tuples inside another tuple, the length of the new tuple is equal to the sum of the lengths of the nested tuples and the non-tuple elements.


Answer:

[True or False] When you nest one or more tuples inside another tuple, - True or False Questions (1 Mark each)

-lock-

In the above example, the length of the tuple1 with 4 nested tuples as elements is 4 and not the sum of the lengths of the nested tuples.

So, the given statement is false.

-endlock-

Remove Ads
Teachoo · Class 11 Explore Class 11
Davneet Singh's photo - Co-founder, Teachoo

Made by

Davneet Singh

Davneet Singh is an IIT Kanpur graduate and has been teaching for 16+ years. At Teachoo, he breaks down Maths, Science and Computer Science into simple steps so students understand concepts deeply and score with confidence.

Many students prefer Teachoo Black for a smooth, ad-free learning experience.