Respuesta :

Answer:

The code to this question as follows:

set3= set1.difference(set2)

Explanation:

In the above python code, we assume that 3 sets are defined that are "set1, set2, and set3". In which two sets set1 and set3 must include some values. and set3 include code that is "set1.difference(set2)".

  • In this code, the set3 includes set1, set2 and use an inbuilt function that is the difference().
  • This function is used to define the difference between set1 and set2 and store values in set3. To know the difference we print set3.