Is this a bug?


#1


https://www.codecademy.com/courses/python-beginner-en-zFPOx/0/4?curriculum_id=4f89dab3d788890003000096#

Oops, try again. Your printed date doesn't seem to be in the proper format: mm/dd/yyyy.

I did everything right.


Replace this line with your code.
 
from datetime import datetime
now = datetime.now()

print '%s-%s-%s' % (now.month, now.day, now.year)


#2

Read the instruction no.1 again


#3

Oh, my bad :smiley: Looks like i wasn't focused. Thanks


#4

you're very welcome :slight_smile:


#5

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