English
Tamil Nadu Board of Secondary EducationHSC Science Class 12

Let setA = {3,6,9}, setB = {1,3,9}. What will be the result of the following snippet? print(setA|setB) - Computer Science

Advertisements
Advertisements

Question

Let setA = {3,6,9}, setB = {1,3,9}. What will be the result of the following snippet?

print(setA|setB)

Options

  • {3,6,9,1,3,9}

  • {3,9}

  • {1}

  • {1,3,6,9}

MCQ
Advertisements

Solution

{1,3,6,9}

shaalaa.com
Introduction to List
  Is there an error in this question or solution?
Chapter 9: Lists, Tuples, Sets and Dictionary - Evaluation [Page 168]

APPEARS IN

Samacheer Kalvi Computer Science [English] Class 12 TN Board
Chapter 9 Lists, Tuples, Sets and Dictionary
Evaluation | Q 10. | Page 168
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×