Here's a simple one.
In the shortest code possible, given an arbitrary number such as 567421
, print it out in words:
five
six
seven
four
two
one
You may assume the input is an integer that is already provided in a one-letter variable such as n
.