>>> a = {1, 2, {3, 4}}
>>> len(a)
- 3
- 4
- error
Write your answer in comment with explaination
>>> a = {1, 2, {3, 4}}
>>> len(a)
Write your answer in comment with explaination
For further actions, you may consider blocking this person and/or reporting abuse
EzioDeviox -
Jayaprasanna Roddam -
Vladimir Dimitrov -
Midhul P -
Top comments (5)
Bad order of answers. "3" is ambiguous.
would be much better
Correct
A is parsed as set with three values: two integers and another set. Thus it gives a Len of 3
3