oop in python advanced features in this we will look into some of the advanced features which python provide core syntax in our class design in this we will look ontohow python allows us to take advantage of operators in our classes python is largely objects and methods call on objects and this even goes on even when its hidden by some convenient syntax var 'hellovar world!var var 'hello world!var __add__(var 'hello world!num num num __add__(num var [' '' 'var ['hello'john'var __add__(var [' '' ''hello'john'so if we have to add magic method __add__ to our own classescould we do that too let' try to do that we have class called sumlist which has contructor __init__ which takes list as an argument called my_list class sumlist(object)def __init__(selfmy_list)self mylist my_list def __add__(selfother)