Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
vladev
on May 8, 2012
|
parent
|
context
|
favorite
| on:
Improving your (Python) code with modern idioms
2012: Python
"{:10.2f}".format(x)
pestaa
on May 8, 2012
[–]
Yes and no. You still need to print it.
rbanffy
on May 8, 2012
|
parent
[–]
Fine. This is the equivalent of sprintf.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: