A tuple that contains other tuples cannot have other elements.

Answer:

-lock-

A tuple that contains other tuples cannot have other elements. - True or False Questions (1 Mark each)

In the above example, the tuple tuple1 contains both tuples and strings as its elements and it is a valid tuple.

So, the given statement is false.

-endlock-

Remove Ads
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.