Quotes help make search much faster. Example: "Practice Makes Perfect"

Friday, November 23, 2012

Codecademy: "Hot Date"


#sample solution


from datetime import datetime

now = datetime.now()
print "%2s/%2s/%s" % (now.month, now.day, now.year)

2 comments:

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

    so what do i do then

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

    so what do i do then

    ReplyDelete


This is an example of scrolling text using Javascript.

Popular Posts