Commiting animals.py mean function