Programming help us to solve problem. Sometimes, we do need statistics to help us making decision.
For instance, we would like to decide which age range of customers prefer books, games or clothes.
We may also need statistics to show our sales, how popular is our movie produce, how is the customers response to our food and etc.
It helps us to analyze large data sets. There are functions help us to do job easier and faster. But how?
According to the following example, we use max() , min(), function to get the maximum or minimum number. In order to get the average, do use a for loop to sum up the value and calculate the average
I use .rstrip() to trim the empty string of the input string.
Please do refer to the link below for example.
dishin problem
Subscribe to:
Post Comments (Atom)
Superior of partial fraction
What is complex fraction? Complex fraction is a fraction whereby its numerator or denominator or both consists of fractions. Partial frac...
-
The name of computer is named by the word "compute". Basically the role of computer cannot be fulfilled without compute. Okay....
-
In order to store a set of variable, we use a list. A list can be illustrated as a box queue in a line, and we add our value to each box. ...
No comments:
Post a Comment