I've decided to make it the same as the original kumite: an up to N generator, and converting the thing into list manually for tests. Obviously, it should return an array (small n) or just generator (big n).
up to N
the caller/tester will almost never call your function, then convert the result to a list. Meaning you actually need a second function to actually make the list. That is... in normal condition of usage of the test framework.
thank You. Hope that would give me a programming job in near future ;)
rotfl.. what was i thinking. of course you're right :) i've replaced that.
[fb for fb in fizzBuzz(17)] => list(fizzBuzz(17))
[fb for fb in fizzBuzz(17)]
Wow...You're pretty good...:d