Re:Here Are The Women of Y Combinator And They Are Awesome
by victork2 on Saturday March 31, 2012 @01:09AM
(#3779432)
That made me laugh!
I was hoping the compiler inside everybody's brain would be able to detect this minor inefficiencies and correct them on the fly. And yes, I was using Python2.7, I wanted to use 3.0 but the sexist libraries haven't been updated. (Just joking).
But thanks for pointing that out!
You could use "Bla bla bla {0}, because {0} and {0}".format("women") to avoid using a tuple of "women". Or, if you're stuck with old Python, just use %(noun)s three times and format with {"noun": "women"}.