Help grand finale


#1

help

i have tried a lot what do i do.

this is my code.

from datetime import datetime
now = datetime.now()

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


#2

seems you copied from the information of the exercise, that won't work, the desired output for the lesson:

mm/dd/yyyy hh:mm:ss

this is a single line, so you will need just one print statements with all the variables


#3

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