Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
zahlman
14 days ago
|
parent
|
context
|
favorite
| on:
Python’s new t-strings
Another alternative:
>>> a, b, c, d = (lambda a, b=45, c=None, **d: (a, b, c, d))(**{'a': 234, 'xyz': 32456})
The parentheses for this are admittedly a bit tricky.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: