EXL Service Interview Question

How to find average using python