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...
Please give the exercise URL and the code you tried. Thanks!
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)
You have two problems:
- You have no space character
" "separating time and date strings.
- You are missing
OH, THANKS! ;D; I never realised... oh, gosh...