Python program to find average of N numbers

Hello everyone, welcome back to programming in python! Here we will learn a simple logic to find average on N numbers in python. This program takes max numbers from the user and calculates the sum of all the numbers in a loop and the final obtained sum is divided by the total number of inputs taken. That results as the average of N numbers.

The formula for it is Average = ( n1+n2+n3+.....) / N , where N is the total number of inputs and n1,n2,n3.. are the values of each input.