fast_map
fast_map copied to clipboard
'int' object is not iterable

Any idea why I am getting this error?
Hello, sorry for late response, the 2nd argument of fast_map should be an iterable (e.g. list, tuple, generator) where each element contains argument/arguments to the called function.
Most likely your code called the fast_map like:
fast_map(func, 60)
The correct way to call it would be:
fast_map(func, [60])