#6 grand finale


please help me debug

Oops, try again. Your printed date and time do not seem to be in the right format: mm/dd/yyyy hh:mm:ss

from datetime import datetime
now = datetime.now()

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


What's stopping you?
Do you agree with the error message?
What information are you missing?


it says wrong format, no i don't understand why


So it looks correct to you?
I don't see anything obvious either:

→ python2 reva.py
11/26/2016 22:29:36

So I'd need to reproduce it, I'd need a link to the exercise


thank you


It passes


you are a genius thanks


from datetime import datetime
now = datetime.now()
print: '%s/%s/%s %s:%s:%s' % (now.month, now.day, now.year,now.hour, now.minute,now.second)

Think I'm running into the same error, not sure why? Seems like you guys were able to solve it.


I got it, thank you!


one code at a time :wink:


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