Q. 3 Consider the following tuples:
T1=(23,1,45,67,45,9,55,45)
T2=(100,200)
Find the output of the following:
(i) print(Tl.index(45))
(ii) print(T1.count(45))
(iii )print(T1+T2)
(iv) print(len(T2))
(v) print(max(T1))
(vi) print(min(T1))
(vii) print(sum(T2))
(viii) print(sorted(T1))
Answers
Answered by
1
Answer:
Explanation:
i --> 2
ii --> 3
iii --> (23, 1, 45, 67, 45, 9, 55, 45, 100, 200)
iv --> 2
v --> 67
vi --> 1
vii --> 300
viii --> i am not sure
vikash021004:
thnx
Similar questions