Itertools Combination Hackerrank Solution For Python