>>> 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
From technical discussions to philosophical debates, AWS and AWS Partners examine the impact and evolution of gen AI.
0x3d Site -
Aditya Rawas -
Atsushi Suzuki -
CyprianTinasheAarons -
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