Old Man Yells At Cloud

Tim Chase python.list at tim.thechases.com
Sun Sep 17 20:22:02 EDT 2017


On 2017-09-17 16:15, Rick Johnson wrote:
> > I've wanted to do all those things, and more. I love the
> > new print function. For the cost of one extra character,
> > the closing bracket,  
> 
> Oops, _two_ characters! What about the opening "bracket"?

  >>> print(len('print "hello"'))
  13
  >>> print(len('print("hello")'))
  14

Plus two parens, minus one space = net +1 character.

-tkc






More information about the Python-list mailing list