Q41. Write the output of the following :
>>> t1=(1,2,3,4,5,6,7)
>>> t1[t1[1]]
Q42. Write the output of the following :
>>> t1=(1,2,3,4,5,6,7)
>>> t1[t1[1]] + t1[t1[-4]]
Q43. Write the output of : >>> tuple("csiplearninghub").count("i")
Q44. Write the output of : >>> sorted(tuple("Amit"))
Q45. Which of the following statement create tuple?
Q46. Which of the following operation work on tuples?
Q47. Write the output of the following:
>>> (n1,n2)=tuple("25")
>>> n2+n1
Q48. What is the length of given tuple? ((((1,2,3,4), 'a', 'b'),'g', 1, 3), "Sonu")
Q49. Write the output of :
>>> t1 = ((101,"Amit",98),(102,"Geetu",95),(103,"Manoj",87),(104,"Sawan",79))
>>> str(t1[2][2]) + str(t1[3][2])
Q50. Which function takes tuple as argument?