Hacker News new | ask | show | jobs
by Pyppe 3584 days ago
"Percentage: {:.2f}%".format(foobar * 100) vs "Percentage: {:.2%}".format(foobar)
1 comments

its actually harder to read, in my opinion, since the % character is often used for formatting,eg '%s' % somevar.

personally, i dislike such spammy prs. it adds nothing to my code, and its not like accepting the pr is going to attract you as a developer on my code.