Read a Fibonacci Generator Prefix
Build a Fibonacci generator starting with 0, 1 and return its first count values as a list. Non-positive counts return []. Inputs are integers no greater than 40 so every result fits the browser engine JSON number range. Consume only the requested prefix, for example with itertools.islice.
Difficulty: intermediate
Examples
[7][0,1,1,2,3,5,8]