Date Time Grand Finale


I cannot find the mistake.
The output is what needs to be, but cannot move forward.
Please advise!

My code is:

from datetime import datetime
now =

print '%s\%s\%s %s:%s:%s' % (now.month,, now.year, now.hour, now.minute, now.second)


Hi @ivanovai,

The date needs to be delimited by forward slashes, which are the / character. You used the \ character instead.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.