Ques 1 Tuple
Tuple is a........
a) Mutable Datatype.
b) Immutable Datatype.
c) Both (a) and (b)
d) None of the above.
Ques 2 Tuple
What is the output of the following Python Code?
tu=("Vikas" , "SmallCode" , 12) tu[0]="Vicky" print(tu[0])
Ques 3 Tuple
What is the output of the following Python Code?
tu=("Vikas" , "SmallCode" , 12) tu=list(tu) tu[0]="Vicky" tu=tuple(tu) print(tu)
Ques 4 Tuple
What is the output of the following Python Code?
tu=(1,2,3,4,5,6,7,8) p=[1:-1] p[0]="Vicky" print(tu)