Python 2.7.6 help with white spaces?

Mark Lawrence breamoreboy at yahoo.co.uk
Fri Feb 7 23:09:08 CET 2014


On 07/02/2014 21:45, Asaf Las wrote:
> On Friday, February 7, 2014 11:11:37 PM UTC+2, Mark Lawrence wrote:
>>
>> Fancy wasting two whole characters when this will suffice
>>
>> print("{}:{}".format(minutes,seconds)) :)
>>
>>
>> Mark Lawrence
>
> Hmmmm, got error:
>
>    File "<stdin>", line 1
>      print("{}:{}".format(minutes,seconds)) :)
>                                             ^
> SyntaxError: invalid syntax
>
> :-)
>

I think we'd all better ease up with the humour.  This will suit the 
people who want this list turned into something bland and boring that 
can only discuss Python code written to conform to PEP 8 and anything 
else is by definition off topic :(

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com





More information about the Python-list mailing list