Need help in - Mean-Variance-Standard Deviation Calculator

Tell us what’s happening:
In the 'Mean-Variance-Standard Deviation Calculator ’ of 'Data Analysis with Python Projects ’ course

I am stuck, I have written my code for the project and had run the code on my local machine and it works completely fine, matches with sample data. But when I
run it on ‘repl.it’ notebook, It gives me Test FAILED saying ->

Your code so far
you can find my code here ->
https://repl.it/@RushankSheta/boilerplate-mean-variance-standard-deviation-calculator-3#test_module.py

I think , somehow the list for checking the results is only passing 7 values instead of 9…

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36.

Challenge: Mean-Variance-Standard Deviation Calculator

Link to the challenge:

Take a closer look at specification, in case of passing to function faulty input - list not having nine numbers - there should be raised error.

1 Like

Yes I got your point that I missed an Instruction, but still having issues after adding condition for it…

Right, raising exception requires using raise keyword, followed by name of the exception that is supposed to be raised.
So something like this:
raise NameOfException

1 Like

Thank You, Got it
:+1:t2:

1 Like