# This program finds the arithmetic mean of n # data where n is the first input n = input("Enter the number of data: ") sum, i = 0, 1 while i <= n: sum = sum + input("Data :") i = i + 1 print "Mean is: ", sum/n