Just adding to what's on file, not sure this is a "must have" but it's fun to do, especially given the association of Bernoulli Numbers with "the first computer program" as scoped out in Ada's notes:
http://www.flickr.com/photos/17157...@n00/3718903352/sizes/o/ (shell view, Akbar font) http://www.4dsolutions.net/ocn/python/ada.py (source code) According to Wikipedia, this is similar to what Knuth recommends i.e. we're staying with integer operations, although I'm using the Fraction type to output results (Bernoulli numbers are fractions with lots of digits once you get into 'em, ideal grist for the mill when learning about Python generators). Kirby 4D -- ндсжег воss _______________________________________________ Edu-sig mailing list Edu-sig@python.org http://mail.python.org/mailman/listinfo/edu-sig