Python 2.7.6 help with white spaces?

Asaf Las roegltd at gmail.com
Fri Feb 7 22:45:21 CET 2014


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

:-)



More information about the Python-list mailing list