Old Man Yells At Cloud
Steve D'Aprano
steve+python at pearwood.info
Sun Sep 17 21:39:55 EDT 2017
On Mon, 18 Sep 2017 09:15 am, Rick Johnson wrote:
> On Sunday, September 17, 2017 at 9:42:34 AM UTC-5, Steve D'Aprano wrote:
>> On Sun, 17 Sep 2017 11:51 pm, Tim Golden wrote:
>>
>> [Snip: Reasons why print function is better than print statement]
>>
>> 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"?
It replaces the space separating print from the arguments.
print spam, eggs, cheese
print(spam, eggs, cheese)
One extra character. See?
--
Steve
“Cheer up,” they said, “things could be worse.” So I cheered up, and sure
enough, things got worse.
More information about the Python-list
mailing list