Skip to content

Instantly share code, notes, and snippets.

@fatosmorina
Created March 5, 2022 12:44

Revisions

  1. fatosmorina created this gist Mar 5, 2022.
    3 changes: 3 additions & 0 deletions symmetric_difference_operator.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    result = first_set ^ second_set

    print(result) # {1, 2, 5}