##############################################################################
# Python From Scratch
# Autor: Nilo Ney Coutinho Menezes
# Editora Novatec (c) 2010-2024
# Site: https://pythonfromscratch.com
#
# File: listing\chapter 08\08.1233 - No Title.py
# Description: No Title
##############################################################################
def sum(L):
total = 0
for e in L:
total += e
return total
def average(L):
return sum(L) / len(L)