This is an archive of python algorithms I created when studying Algorithms in Python at CTU Prague.
Convert date in word format to date in numerical format (and back)
Date in words
Date in number format
Input:
the eighth of May fivethousandtwohundred
Output:
8.5.5200
Combine a sequence of numbers (with + and *) to produce a target number
First line: sequence of non-negative numbers to be combined
Second line: target number
sequence of numbers which produce the target number
Input:
98706543
103
Output:
9+87+0*65+4+3