[Tutor] Main function

Wheeler, Gabriel wheelerg at seattleu.edu
Tue May 20 20:00:43 CEST 2014


I am a beginner at python programming and right now we have to write the text to design a program that will make a histogram for Benford's law which says that in a natural set of data 1 will appear more than 2 which will appear more than 3 and so on. So given a set of data I want a list showing how many times each number appears.


Since I'm new to python and don't really know how to write programs yet, my first question would be what exactly is the main function, because we did a similar assignment before this one that included it, and I'm not sure what exactly it does.


Gabe Wheeler
(512)964-5421
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20140520/ebeeec8d/attachment.html>


More information about the Tutor mailing list