Question: how to calculate average of two numbers in python?
Answer: All you need to do is to iterate a list using a for loop and add each number to a sum variable. To calculate the average divide the sum by the length of a given list(total numbers in a list)