Part 1 homework, optimise almost working.
Using combinations / permutations. Not quite right.
Removed rounding permutations. Almost the correct answer.
Rounding permutations work, but neither the Python itertools permutations, combinations or combinations_with_replacement functions actually return all the combinations. :-/