Python Koans Solution