I'm trying to run the "Datetime" exercise and I'm getting this error message.
Traceback (most recent call last):
File "python", line 3, in
TypeError: Required argument 'year' (pos 1) not found
Here is what my code look like:
from datetime import datetime
now = datetime()
print ('%s/%s/%s %s:%s:%s') % (now.month, now.day, now.year, now.hour, now.minute, now.second)
I've looked other discussion about this and it seems to others it worked but not on mine.