Hackerrank List Comprehension Solution In Python With Example