Your printed date doesn't seem to be in the proper format: mm/dd/yyyy


<Below this line, add a link to the EXACT exercise that you are stuck at.>

<In what way does your code behave incorrectly? Include ALL error messages.>
Your printed date doesn’t seem to be in the proper format: mm/dd/yyyy.

<What do you expect to happen instead?>
It should work! The format should be mm/dd/yyyy, which is being displayed correctly when I hit run, but I can continue

from datetime import datetime
now =

print '%s\%s\%s' % (now.month,, now.year)


facepalm. I was using backslash…


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