Quiz: Python Sets

Instructions

Complete the following exercises and submit your code:

# Python sets
# 1. Write a Python program to create a non empty set and print it.


# 2. Write a Python program to add member in a set.


# 3. Write a Python program to remove item from set.

# Python sets
# 4. Write a Python program to find the length of a set.


# 5. Write a Python program to find maximum and the minimum
# value in a set.


# 6. Write a Python program to create an intersection of sets.

Leave a Reply