Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
strokirk
6y ago
0 comments
Share
sorted(u for u in users if u.last_name.startswith("S"), key=lambda u: u.last_name)[:3]
Though I will conceed that I also find the fluent interface variant nicer.
0 comments
default
newest
oldest
mehrdadn
6y ago
That doesn't parse :-)
j
/
k
navigate · click thread line to collapse