Im doing the right format correct but it says im not


I know im doing it right but it says Oops, try again. Your printed date and time do not seem to be in the right format: mm/dd/yyyy hh:mm:ss

i think it should say you have finished the course

from datetime import datetime
now =

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


Actually, the instruction says, print the date and time together.
So instead of printing them separately like what youve done, print them together.
Like this:

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


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