# Difference of two sets
# The difference of two sets can be calculated by using the subtraction (-) operator. 
# The resulting set will be obtained by removing all the elements from set 1 that are present in set 2.

# Example 1 : using subtraction ( - ) operator
Days1 = {"Monday",  "Tuesday", "Wednesday", "Thursday"}  
Days2 = {"Monday", "Tuesday", "Sunday"}  
print(Days1-Days2) #{"Wednesday", "Thursday" will be printed}  

# Example 2 : using difference() method
Days1 = {"Monday",  "Tuesday", "Wednesday", "Thursday"}  
Days2 = {"Monday", "Tuesday", "Sunday"}  
print(Days1.difference(Days2)) # prints the difference of the two sets Days1 and Days2 
cdc06989052a1f50d93bf34d797cb28247194241
<mask token>

<mask token>
print(Days1 - Days2)
<mask token>
print(Days1.difference(Days2))

Days1 = {'Monday', 'Tuesday', 'Wednesday', 'Thursday'}
Days2 = {'Monday', 'Tuesday', 'Sunday'}
print(Days1 - Days2)
Days1 = {'Monday', 'Tuesday', 'Wednesday', 'Thursday'}
Days2 = {'Monday', 'Tuesday', 'Sunday'}
print(Days1.difference(Days2))

# Difference of two sets
# The difference of two sets can be calculated by using the subtraction (-) operator. 
# The resulting set will be obtained by removing all the elements from set 1 that are present in set 2.

# Example 1 : using subtraction ( - ) operator
Days1 = {"Monday",  "Tuesday", "Wednesday", "Thursday"}  
Days2 = {"Monday", "Tuesday", "Sunday"}  
print(Days1-Days2) #{"Wednesday", "Thursday" will be printed}  

# Example 2 : using difference() method
Days1 = {"Monday",  "Tuesday", "Wednesday", "Thursday"}  
Days2 = {"Monday", "Tuesday", "Sunday"}  
print(Days1.difference(Days2)) # prints the difference of the two sets Days1 and Days2 