Heiko Wundram wrote: > 2) Just as I've replied to Terry J. Reed, if you find list comprehensions easy > to read, you're also bound to be able to understand what "for <expr> in > <expr> if <expr>:" does, at least AFAICT. I tend to write non-trivial LCs on multiple lines, e.g. l = [foo(x) for x in stuff if something_about(x)] for the very reason that it makes them easier to read. -- Greg
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4