l = [15, 18, 2, 36, 12, 78, 5, 6, 9]l = map(float,l)print '%.2f' %(sum(l)/len(l))
↧
Answer by user1871712 for Finding the average of a list
↧
l = [15, 18, 2, 36, 12, 78, 5, 6, 9]l = map(float,l)print '%.2f' %(sum(l)/len(l))