Project Euler 493 - Under the rainbow

Official link: https://projecteuler.net/problem=493

Thought Process

The problem boils down to creating a, n choose m function, but this is very easy in Python.

Interactive Code

Enter 3 integer's (colours, numpercolour, numofpickedballs)

Code will output the number of distinct colours in numofpickedballs, where there are colours and numpercolour of balls per colour