Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
aldanor
· 5y ago · 0 comments
Have you seen this? :)
x, y = 1, 2 print(f'{x=}, {y=}')
Comments
[–]
rement
5y ago
I haven't but that is awesome. That is a much better syntax than just outputting data with `print(x, y)` and remembering which came first (when debugging of course).