HackerRank Concatenate in python problem solution - TheCScience