This program takes a number and calculate it’s linguistic numeral.
The number 3 returns the numeral \text{three}, 58 returns \text{fifty-eight} and 31415.926535 returns \text{thirty-one thousand four hundred fifteen point nine two six five three five}.

The code executed on a shell.

# Python 2.7.7 Code
# Jonathan Frech 24th of May , 2016
#         edited 17th of June, 2016
#         edited 29th of June, 2017
#         * fixed spelling of 'forty'
#         * (In the post's image you can
#           still see the incorrect version.)
#         * Errare humanum est.

Continue reading


On a recent train ride I made a little pyhon program to play Hangman.
My version has 7 stages (you could implement more by changing the ‘STAGES’ variable) and is at best playable if you have someone else who gives you a word (you can also type ‘r’ for a random word, but the list of random words is not very long).
Insert the wordGuessWin! (or lose...)

# Python 2.7.7 Code
# Jonathan Frech April the 7th, 2015

Continue reading