# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     name: python3
# ---

# + [markdown] id="view-in-github" colab_type="text"
# <a href="https://colab.research.google.com/github/aditya270520/100Daysofpython/blob/main/illustrate_different_set_operation.ipynb" target="_parent"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/></a>

# + colab={"base_uri": "https://localhost:8080/"} id="6ygzURzgrbLd" outputId="9c1dbe5f-82d1-4d8b-eae9-016d5ff12f4c"
E = {0, 2, 4, 6, 8};
N = {1, 2, 3, 4, 5};

print("Union of E and N is",E | N)

print("Intersection of E and N is",E & N)

print("Difference of E and N is",E - N)

print("Symmetric difference of E and N is",E ^ N)

StarcoderdataJupyterScriptsDedupFiltered