Difference of Sets

A set in mathematics is a collection of well defined and distinct objects.
Difference of two set: The set consisting of all elements of a set A that do not belong to a set B is called the difference of A and B. It is denoted by A - B.

Example :
If A = {a, b, c, d} and B = {b, c, e, f, g}
Difference of A and B is
A - B = {a, b} 
 
Difference of B and A is
B-A = {e, f, g}
 

Difference of 2 Sets
Set A: (Enter the elements seperated by comma)
Set B: (Enter the elements seperated by comma)
A-B
B-A