Sigh... Another bug


So I'm stuck on the Grand Finale with this error message Invalid Syntax. My code is exactly the same as they order but... Anyway, here's my code

from datetime import datetime
now =
print "%s/%s/%s %s:%s:%s:" % (now.month,, now.year, now.hour, now.minute, now.second)


print "%s/%s/%s %s:%s:%s:"

remove : at the end


I did, but I made a mistake in the code on this.


Okay, so I now realized that my code was missing a parenthesis. But when I fixed that, It said "Error. Builtin_function_or_method object has no attribute 'month.'


can i please see your update code?


When i use your code it works for me.

The ":" do not matters since is a string.


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