create a module that gets an average code example
Example: calcutalte average python
# app.py
def averageOfList(num):
sumOfNumbers = 0
for t in num:
sumOfNumbers = sumOfNumbers + t
avg = sumOfNumbers / len(num)
return avg
print("The average of List is", averageOfList([19, 21, 46, 11, 18]))