QuestionQ19

VerifiedFunctions and Exceptions

What is the expected output from the following code?

Question Image

Explanation

The function returns '2021' as the second tuple element. Applying [1][1] selects the second character of that string, which is 0.

Community Discussion

No comments yet. Be the first to start the discussion!