Infosys interview question

Functions in python Oops concept