3 ms·
Yeah at the very least this should be a tuple rather than a list: yield from (i, i) It does use fewer lines, but if that's the point then this would wor
by jessaustin 9y ago
Yeah at the very least this should be a tuple rather than a list:
yield from (i, i)
It does use fewer lines, but if that's the point then this would work:
yield i; yield i