You have two sets, one containing all employees who attended a training session and another with employees who completed an online assessment. You want to find out who attended the training but did not complete the assessment. Which set operation would help?
- Difference
- Intersection
- Symmetric Difference
- Union
To find employees who attended training but did not complete the assessment, you would use the "Difference" set operation. This will give you the elements that are in the first set but not in the second.
Loading...
Related Quiz
- How can you avoid hardcoding the URL in Django templates when using the anchor tag?
- How can you reload a module that has been modified after it was initially imported?
- How can you integrate a Python back-end with a Single Page Application (SPA) framework like Angular or React?
- How can you view the list of variables and their values in the current scope while debugging with Pdb?
- How can you visualize the distribution of a single variable using Seaborn?