MCQs > IT & Programming > Python > Output of the following Python code? List = [5, 12, 3, 4, 2, 16, 2, 2, 2, 11] print(sum(List)+List.count(2)+min(List)+max(List)+List.pop()) del List[0] del List[6] print(List.pop(0)+len(List)+List.index(2)+List.index(2,2))

Python MCQs

What will be the correct output of the following Python code?

List = [5, 12, 3, 4, 2, 16, 2, 2, 2, 11]

print(sum(List)+List.count(2)+min(List)+max(List)+List.pop())

del List[0]

del List[6]

print(List.pop(0)+len(List)+List.index(2)+List.index(2,2))


Answer

Correct Answer:

92

22


Explanation:

Note: This Question is unanswered, help us to find answer for this one

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it