Python Programming - Sets - Discussion

Discussion Forum : Sets - General Questions (Q.No. 22)
22.
What is the result of the expression len(set("python"))?
5
6
7
Raises a TypeError
Answer: Option
Explanation:
The set("python") creates a set of unique characters, and the length is 6.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.