List in Python Quiz 5

Share with others

Welcome to your List in Python Quiz 5

Name
Email
School Name
Q41. Which of the following is true about List data type in Python?
Q42. Identify data type of 'T' in following line of Code
T = list(tuple([1,2,3]))

print(type(T))
Q43. List and String are different
Q44. List can have elements of ________ data types.
Q45. Write the output of the following:
L =[['Physics',101],['Chemistry',202], ['Maths',303],45, 6, 'j'] 
print(len(L))
Q46. Write the output of the following :
L = [1,2,3,4,5,6,7,8,9,10]
print(L[L[3]])
Q47. Which of the following statement will return first element from right of list 'L'?
Q48. Write the output of the following:
L = [1,2,3,4,5,6,7,8,9,10]
print(L[len(L) - 1])
Q49. We can concatenate only two list at one time.(T/F)
Q50. The following statements is showing __________ operation in List.
L1 = [1,2,3,4]
L2 = [1,2,3,4]
L = L1 + L2


Share with others

Leave a Reply