Fill In the Blanks For Tuples Class 11 Computer Science (CS)



1. Tuples are _____ data type of python.

2. A tuple can store values of _____ data types.

3. The _____ operator used with two tuples, gives a concatenated tuple.

4. The _____ operator used with a tuple and an integer, gives a replicated tuple.

5. To create a single element tuple storing element 5, you may write t = ( _____ _____ ).

6. The _____ operator can be used to check for an element's presence in a tuple.

7. The _____ function returns the number of elements in a tuple.

8. The _____ function returns the index of an element in a tuple.

9. The _____ function sorts the elements of a tuple and returns a list.

10. The _____ function cannot work with nested tuples.


Answer :-

1. immutable
2. all
3. +
4. *
5. 5,
6. in
7. len() or count()
8. index()
9. sorted()
10. sum()

2 Comments

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post