from utils import fill_count n = 1 while fill_count( n, 50 ) <= 1000000: n += 1 print n
from utils import fill_count print fill_count( 50, 3 )