31 ms·
It does make for some amusing code golf techniques, e.g.: print([ f"{(not x % 3) * 'Fizz'}{(not x % 5) * 'Buzz'}" or x for x in range(1, 20) ])
by int_19h 5y ago
It does make for some amusing code golf techniques, e.g.:
print([
f"{(not x % 3) * 'Fizz'}{(not x % 5) * 'Buzz'}" or x for x in range(1, 20)
])
- DangitBobby 5y agoFantastic