2 ms·
For completion's sake, yes you can do that in Python, it's just slightly uglier (as far as I know) using ''.join(filter(None, [a, b])) and itertools.cycle([N
by a_bonobo 14y ago
For completion's sake, yes you can do that in Python, it's just slightly uglier (as far as I know) using
''.join(filter(None, [a, b]))
and
itertools.cycle([None, None, 'Fizz'])
itertools.cycle([None, None, None, None, 'Buzz'])