Sets Warmup#

Section Title: Sets Warm Up

Warm Up Question-1#

Create a set that includes an integer, a decimal number, a string, and a boolean value.

Warm Up Question-2#

Calculate the maximum value, minimum value, total sum, and the count of elements in the sequence of numbers 9,3,1,7,4,2,8,76,10 using a set.

Warm Up Question-3#

Add three additional elements to this set: {4,6,1}.

Warm Up Question-4#

Count the number of the unique values in the following sequence: 4,2,8,3,3,9,3,3,5,6,7,8.

Warm Up Question-5#

Use the remove() method to delete 6 from the set {9,7,1,2,6,3,4,5,8,6}.

Warm Up Question-6#

Calculate the sum of the odd numbers in this set: {5, 6, 1, 2, 3, 9, 8}