I have a list in python and I want to get the average of all items. I tried different functions and even I wrote a small function for that but could not do that. even when I tried to convert the items to a int or float it gave these errors:
TypeError: float() argument must be a string or a number
TypeError: int() argument must be a string or a number, not 'list'
here is a small example of my list in python.
['0,0459016', '0,0426647', '0,0324087', '0,0222222', '0,0263356']
do you guys know how to get the average of items in such list/ thanks