ExamVeda
Login
Home
This question belongs to Python Program Sets In Python
Sets in Python
?

What will be the output of the following code:
my_set = {1, 2, 3}
my_set.add(4)
print(my_set)

Answer & Solution
Correct Answer: Option B
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.