0

How to Code for calculate the average numbers in python

Help me to solve this problem

18th Mar 2022, 4:19 PM
Prajwal Patgar
4 Answers
+ 3
First show your try.
18th Mar 2022, 4:21 PM
Adil
Adil - avatar
+ 3
# Let my_list be a list of numbers. Then: avg = sum(my_list)/len(my_list)
18th Mar 2022, 4:22 PM
Per Bratthammar
Per Bratthammar - avatar
18th Mar 2022, 4:26 PM
Adil
Adil - avatar
0
What kind of average? Mean, median, mode, weighted mean, ... ?
18th Mar 2022, 7:58 PM
Simon Sauter
Simon Sauter - avatar