QuestionQ161

VerifiedData Collections – Tuples, Dictionaries, Lists, and Strings

What output is expected from the following code?

Question Image

Explanation

An escaped single quote (\') represents one literal apostrophe character within a single-quoted Python string. Therefore, the string has length 1.

Community Discussion

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