# List in Python Quiz 7

Share with others

Welcome to your List in Python Quiz 7

Name
School
Email
Q61. Write the output of the following:

print(len(tuple[1]))

Q62. Write the output of the following :

L = [[1,2,3,5,6,7,[1,[2,3]]]]print(len(L))

Q63. Which function returns the length of a list?

Q64. Write the output of the following :

D = list[]print(len(D))

Q65. remove( ) function removes the ________ occurrences of an element from the list

Q66. sort () function Sorts the elements of the given list in-place(T/F)

Q67. Which of the following function creates the new list?

Q68. Write the output of the following :

D = [1,2,3]D1 = DD.append(4)print(D1)

Q69. Fill in the blanks with same word in both places

>>> import __________>>> list1 = [1,2,3,4,5]>>> list2 = _________copy(list1)>>> list2

Q70. Write the output of the following :

def listchange(L):L.append(45)returnL1 = [1, 2, 3, 4]listchange(L1)print(L1)

Share with others