""" average1.py class exercise Sep 11 2012 """ n = input("How many numbers? ") total = 0.0 for i in range(n): x = input("What is your number? ") total = total + x # print " you said", x # print " total is now", total print "The average is ", total/n