¡@

Home 

python Programming Glossary: teen

Project Euler 17

http://stackoverflow.com/questions/12647254/project-euler-17

forty two contains 23 letters and 115 one hundred and fifteen contains 20 letters. The use of and when writing out numbers.. 5 maps 8 5 maps 9 4 maps 10 3 maps 11 6 maps 'and' 3 maps 'teen' 4 maps 20 6 maps 30 6 maps 40 5 maps 50 5 maps 60 6 maps 70.. n q maps n return q def eleven n q maps 11 return q def teen n digits int_to_list n q maps digits 1 maps 'teen' return q..