[Tutor] Projects (fwd)

Tiger12506 keridee at jayco.net
Thu Jan 24 02:45:09 CET 2008

> This could be written much more efficiently. It can be done with only 
> these
> lists~
> ones =
> ['zero','one','two','three','four','five','six','seven','eight','nine']
> teens =
> ['ten','eleven','twelve','thirteen','fourteen','fifteen','sixteen','seventeen','eighteen','nineteen']

What is it with me and mistakes lately? These two lists above should be 
combined into one. Saves a couple of range checks in the program.


More information about the Tutor mailing list