Angular Typescript Map Function In Python Exercises Hackerrank