3 ms·
print() is a function now and you can use it with lambdas.
by heavyset_go 6y ago
print() is a function now and you can use it with lambdas.
- pmiller2 6y agoEven in Python 2, you can do something like this: println = lambda s: sys.stdout.write(s + '\n') Not that it really makes things much better, but, at least it shows you can do it.