Chapter 15 // Exercise 9
Find another data set of heights (an inch is 2.54cm) and graph them with your program from the previous exercise. For example, search the web for "height distribution" or "height of people in the United States" and ignore a lot of rubbish or ask your friends for their heights. Ideally, you don't have to change anything for the new data set. Calculating the scaling from the data is a key idea. Reading in labels from input also helps minimise changes when you want to reuse code.
Github: https://github.com/l-paz91/principles-practice/blob/master/Chapter%2015/exercise%209
No comments:
Post a Comment