Lab4a.py Create the ~/ops445/lab4/lab4a.py script. The purpose of this script will be to demonstrate the different way
Fantastic news! We've Found the answer you've been seeking!
Question:
Lab4a.py
- Create the~/ops445/lab4/lab4a.pyscript. The purpose of this script will be to demonstrate the different way of comparing sets. There will be three functions, each returning a different set comparison.
- Use the following template to get started:
- The join_sets() function should return a set that contains all values from both sets
- The match_sets() function should return a set that contains all values found in both sets
- The diff_sets() function should return a set that contains all values which are not shared between both sets
- All three functions should accept two arguments both are sets
- The script should show the exact output as the sample below
Related Book For
Posted Date: