Re: [Tutor] Stem and leaf plots

2015-05-17 Thread Danny Yoo
> for i in range(low, high+1): > stems[i].sort() > print(str(i).ljust(padding) + ' | ' + > ' '.join(map(str, stems[i])))def printStemPlot(values): Gah! Sorry! Copy and paste error near the end there. Just trim the 'def printStemPlot(values):' part off the end

[Tutor] Stem and leaf plots

2015-05-17 Thread Danny Yoo
I was reading the "Cartoon Guide to Statistics", and came across a description on "Stem and plot diagrams". (http://en.wikipedia.org/wiki/Stem-and-leaf_display.) It's sorta like a histogram diagram, but bundles by the ten's digit, and uses the one's digit as the "point". Here's my attempt at desc