Welp. grand finale is ka-ray-zy


#1

I can't figure out what i've done wrong... i've put it into one line, i've got it in the right order... it keeps mentioning an error to do with 'str'.... uh...


#2

Please give the exercise URL and the code you tried. Thanks! :slightly_smiling:


#3

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

and the code i tried was:

from datetime import datetime
now = datetime.now()

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

#4

You have two problems:

  1. You have no space character " " separating time and date strings.
  2. You are missing % somewhere.

#5

OH, THANKS! ;D; I never realised... oh, gosh...