I’ve been figuring out how to find the average of a list in Python, and I think the easiest method is to use a for loop to sum all the elements. Here’s a quick way to do it: you can iterate through the list, add up all the numbers, and then just divide by 10 instead of calculating the actual length of the list. This makes the code so much simpler, and you don’t have to deal with the hassle of finding the length.
Who needs to overcomplicate things, right? Just give it a try and see how easy it is!