0

Average is not working. Help!

number = [] size = 0 def Average(number): sum(number) / len(number) for i in range (0,7): if number != "XXX": n = input("Enter a number: ") number.append(n) print(number) print("The average is", Average)

5th May 2020, 7:07 AM
Christian Sandoval
Christian Sandoval - avatar
5 Réponses
+ 1
Correct but my average function isnt working
5th May 2020, 7:26 AM
Christian Sandoval
Christian Sandoval - avatar
0
I did, on the bottom
5th May 2020, 7:18 AM
Christian Sandoval
Christian Sandoval - avatar