Code For Average In Python