Review of Python Quiz 7

Share with others

Welcome to your Review of Python Quiz 7

Q61. Write the output of the following:

print(min(max(1, 23, 12), min(56, 64, 35)))

Q62. print(t1 > t2) return ________________ #t1 and t2 are tuples

Q63. Which of the following statement return 16?

Q64. Fill in the blank so that the output should be "ip".

str = "I love my blog csiplearninghub"
print(str[______])

Q65. Write the output of the following:

L1 = [23, 34, 12, 33, 20]
L2 = L1[2 : 5]
print(L2.pop())

Q66. Write the output of the following:

L1 = [23, 34, [12, 33, 20,45,32]]
L2 = L1[2][1:4]
print(L2.pop())

Q67. Write the output of the following:

L1 = [23, 34, [12, 33, 20,45,32]]
L1[2][2]=100
print(L1)

Q68. Write the output of the following code:

for i in range(4,7):
     print(i, end=",")
     i=i+3

Q69. Evaluate : 20*4//2 + 8 - 6//3**2

Q70. What is the output of print(list())?


Share with others

Leave a Reply

error: Content is protected !!