WSQ10

« Create a program that asks the user for 10 numbers  (floating point). Store those numbers in a list. Show to the user the total, average and standard deviation of those numbers. »

wsq10

« Return the length (the number of items) of an object. The argument may be a sequence (such as a string, bytes, tuple, list, or range) or a collection (such as a dictionary, set, or frozen set). »

 

Could not understand the standard deviation …😦

WSQ09

So when I don’t understand how to make something I google. I also take the problem the other way around and use other blogs code and do to « down from top ». Try to understand what they did and how they organize it. Looking at different blogs you realize how many ways there are to do it. Usually take the one I understand best and try to redo it on my own. This is the blog I used. There is no name, so thanks stranger! https://programmingtc101.wordpress.com/2016/02/20/wsq09-factorial-calculator/

wsq092 wsq091

http://www.python-course.eu/recursive_functions.php

 

WSQ08

Wooh did that one on my own with no help.

I added some comments thanks to the # to order my code. Want to take good habits!

Also note to myself: Do not complicate numbers and name. Eg Number1 with an upper case, which fucks everything up if you don’t put it correctly after all.

wsq08