Hello need help with the date time grandfinale exercise


#1


here is the code that i did concerning the datetime grand finale

from datetime import datetime
now = datetime.now()

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

and i get this error when i run the code
8/ /2016 8: 36: 57


Replace this line with your code.


#2

That looks like the output of your code, not an error message?
I imagine that if you are getting an error message, that it would be complaining about the format of your date? Do you see that your format is different from what's asked for?


#3

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