Standard Deviation help needed


#1

Hey guys :slight_smile: So I'm a bit stuck in this section. This is what I've got so far:


notes: I used grades_lst instead of scores the previous functions as you can tell above. It all works fine except for this last piece of code where I get this error: Oops, try again. grades_std_deviation(8.2222222222) raised an error: 'float' object is not iterable

edit: also I used grades_lst throughout the code but in the previous exercise the program converted it into 'grades' for the first three functions idk why.


#2

I've also tried this:

but I get the following error: Oops, try again. grades_std_deviation(5.4375) returned 18.2776094147 instead of the expected: 2.3318447633


#3

Nvm, I've managed to solve it.. finally


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.