EXL Service interview question

How to find average using python