# Python - Mean-Variance-Standard Deviation Calculator Feedback

I passed the challenge “Mean-Variance-Standard Deviation Calculator,” but my answer seems so very clunky to me, and it almost feels like I’m missing something or doing something wrong.

Anyone willing to give my answer some constructive feedback?

My head is still spinning from all the tutorial videos. Starting to learn Python, Jupyter, Numpy, Pandas, and Matplotlib all around the same time is more than my little brain can handle.

Thanks!

[https://repl.it/join/lhrjpybl-pschorey](http://My Solution on Repl.it)

It is a lot to learn, for sure~!

To be honest, your solution is pretty similar to mine - yours is more readable though, I think. My recommendation is to continue your learning, and as you become more comfortable with Python in general you might consider coming back to this project to see if you have new insight for optimisation. I did this for my JS projects, and was quite surprised.

As a final thought, I’ll leave one of my favourite quotes: “Perfection is the enemy of progress”.

1 Like

Thank you for the feedback!

When you’re going at this ‘alone’ and everything is new it’s easy to have a lot of doubts. Appreciate your advice.

1 Like

It definitely can be overwhelming. Just remember that we are always here to help.

1 Like

Hi,

I also had a very similar code. However, a little less lines. See, if this help you a bit.

1 Like

I have written the code a bit less lines and another thing I want to say it runs in 0.004 s

I feel you re: the information overload! My initial try yielded a similar code as yours… quite long. So I looked through this thread and some others and ended up with a shorter one (see file: mean_var_std2.py). It executed the tests in 0.002s… curious if anyone’s been able to shorten this even further!!

You can find my code here:
https://repl.it/@ariyosh/fcc-mean-variance-standard-deviation-calculator