"""
© https://sudipghimire.com.np

Create 2 different classes Major and Subject

create an instance of Major and add different subjects to the 'subject' attribute as a set of subjects

Create another instance for Major and add subjects to the instance

add operator overloading to add different methods so that we can create another major.

Example we have majors science, commerce

if we call

new_major = science + commerce

it should be able to return the new instance of Major with all subjects inside of them

Note:
    you can try other operator overloading options too.
"""

# answer

"""
© https://sudipghimire.com.np

Create 2 different classes Major and Subject

create an instance of Major and add different subjects to the 'subject' attribute as a set of subjects

Create another instance for Major and add subjects to the instance

add operator overloading to add different methods so that we can create another major.

Example we have majors science, commerce

if we call

new_major = science + commerce

it should be able to return the new instance of Major with all subjects inside of them

Note:
    you can try other operator overloading options too.
"""

# answer

© https://sudipghimire.com.np  Create 2 different classes Major and Subject  create an instance of Major and add different subjects to the 'subject' attribute as a set of subjects  Create another instance for Major and add subjects to the instance  add operator overloading to add different methods so that we can create another major.  Example we have majors science, commerce  if we call  new_major = science + commerce  it should be able to return the new instance of Major with all subjects inside of them  Note:     you can try other operator overloading options too. # answer