converting numbers into words (Posting On Python-List Prohibited)

John Ladasky john_ladasky at sbcglobal.net
Thu Nov 9 06:45:29 EST 2017


On Wednesday, November 8, 2017 at 11:40:18 PM UTC-8, Lawrence D’Oliveiro wrote:
> On Thursday, November 9, 2017 at 7:51:35 PM UTC+13, r16... at rguktrkv.ac.in wrote:
> 
> > How can I covert numbers into word like ex:-123 One hundred twenty three?
> 
> Here’s <http://www.codecodex.com/wiki/Convert_an_integer_into_words> one I did earlier, in Algol 68.
> 
> Conversion to Python is left as an exercise for the reader.

I think that gives away rather more than I wanted the student to see.



More information about the Python-list mailing list