Talk:Non-Programmer's Tutorial for Python 2.6/Dealing with the imperfect

The current example is rotten
Much better implementation

Inputs on which this code performs better include:
 * None
 * main
 * eval(compile('import os\nos.system("rm -rf ReallyImportantDirectory")\n','/dev/null','exec'))
 * ctrl-D

There are other reasons to dislike the current example:
 * while (...) -- why the brackets?
 * success = 0 -- should be boolean, not int
 * use of "success" at all
 * import math -- pointless
 * year = 0 -- pointless
 * "The epact is: ",epactval -- spaced wrongly
 * print "Program Complete" -- no it isn't!

Really, that's not the way to teach Python to anyone.