practice programs
Raymond Hettinger
vze4rx4y at verizon.net
Fri Jan 3 20:20:38 EST 2003
From: "Tupoi" <EDB30 at msn.com>
> any ideas for programms a begginer might try writing to help hone his
skills
A spell checker might be useful ;)
Some classic exercises are:
-- prime number generator (3,5,7,11, and 13 are prime; 9 is an anomaly)
-- Markov sentence generation
-- mail merge (table of fields inserted in to text with place holders)
-- key word in context (search google for KWIC index)
-- shuffle a deck and evaluate a blackjack hand
-- use introspection and metaclasses to write a native Python compiler
(okay, maybe not).
Raymond Hettinger
More information about the Python-list
mailing list