List in Python Quiz 6

Share with others

Welcome to your List in Python Quiz 6

Q51. Which mathematical operator is used to concatenate list?

Q52. Write the output of the following :

L1 = [1,2,3]
L1 + L2

Q53. If we try to concatenate a list with elements of some other data type, ____________ occurs.

Q54. Name the operator which is used in the following print statement.

L1 = [1,2,3]

Q55. print(L1 + L1) and print(L1 * 2) will produce the same result.(L1 is a List)(T/F)

Q56. Which operator helps to check whether an element is present in list or not?

Q57. Write the output of the following:

print(1 in [[1],2,3])

Q58. Which operation of List is shown in following lines?

L1 = [1, 2, 3, 4, 5, 6, 7, 8]
print(L1[3 : 6])

Q59. Which of the following statement will reverse the list L1?

Q60. Traversing a list can be done with the help of ________

Share with others

Leave a Reply

error: Content is protected !!