मराठी
तामिळनाडू बोर्ड ऑफ सेकेंडरी एज्युकेशनएचएससी विज्ञान इयत्ता १२

What is set in Python? - Computer Science

Advertisements
Advertisements

प्रश्न

What is set in Python?

एका वाक्यात उत्तर

उत्तर

  • Set is another type of collection data type.
  • A Set is a mutable and unordered collection of elements without duplicates.
shaalaa.com
Introduction of Set
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 9: Lists, Tuples, Sets and Dictionary - Evaluation [पृष्ठ १६९]

APPEARS IN

सामाचीर कलवी Computer Science [English] Class 12 TN Board
पाठ 9 Lists, Tuples, Sets and Dictionary
Evaluation | Q 6. | पृष्ठ १६९

संबंधित प्रश्‍न

If A = {x/6x2 + x - 15 = 0}

B = {x/2x2 - 5x - 3 = 0}

C = {x/2x2 - x - 3 = 0} then

find (A ∪ B ∪ C)


If A = {1, 2, 3, 4}, B = {3, 4, 5, 6}, C = {4, 5, 6, 7, 8} and universal set X = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, then verify the following:

A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C)


If A = {1, 2, 3, 4}, B = {3, 4, 5, 6},

C = {4, 5, 6, 7, 8} and universal set

X = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, then verify the following:

A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C)


If A = {1, 2, 3, 4}, B = {3, 4, 5, 6}, C = {4, 5, 6, 7, 8} and universal set X = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, then verify the following:
(A ∪ B)' = (A' ∩ B')


If A = {1, 2, 3, 4}, B = {3, 4, 5, 6}, C = {4, 5, 6, 7, 8} and universal set X = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, then verify the following:
(A ∩ B)' = A' ∪ B'


If A = {1, 2, 3, 4}, B = {3, 4, 5, 6}, C = {4, 5, 6, 7, 8} and universal set X = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, then verify the following:
A = (A ∩ B) ∪ (A ∩ B')


If A = {1, 2, 3, 4}, B = {3, 4, 5, 6}, C = {4, 5, 6, 7, 8} and universal set X = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, then verify the following:
B = (A ∩ B) ∪ (A'∩ B)


If A = {1, 2, 3, 4}, B = {3, 4, 5, 6}, C = {4, 5, 6, 7, 8} and universal set X = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, then verify the following:
n (A ∪ B) = n(A) + n(B) – n(A ∩ B)


If A = {x/6x2 + x - 15 = 0}

B = {x/2x2 - 5x - 3 = 0}

C = {x/2x2 - x - 3 = 0} then

find (A ∩ B ∩ C)


Explain the different set operations supported by python with suitable examples.


Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×