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
--
https://mail.python.org/mailman/listinfo/python-list
