MCQs > IT & Programming > Python > Output of following code? counter = 1 def count(): global counter t = (1, 2, 3) for i, v in enumerate(t): counter += i + v count() print counter

Python MCQs

What will be the output of following code? counter = 1 def count(): global counter t = (1, 2, 3) for i, v in enumerate(t): counter += i + v count() print counter

Answer

Correct Answer: 10

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