solution of python koans