Softsensor AI interview question

Basic of oops in python