Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
COBOL translation (author is inactive).
Isn't this just a duplicate of this?
For Python, this Kata is a nice opportunity to learn why the trivial instruction one may want to use shouln't be. Perhaps this could be precised in the details ?
Should have a test which shows that numbers can have more than one digit as that can change how parsing works.
You may want to block imports in Python, otherwise this is an extremely easy 6kyu. Example solution: https://www.codewars.com/kata/reviews/5d9dfbe5e6cc2d0001e3fae9/groups/5d9dfcdf628e4600018939cc
EDIT: making the change would disqualify most of the Python solutions, so it's to your discretion whether you want to change it or not.