Data and Time Grand Finale


#1


rom datetime import datetime
now = datetime.now()
print'%s/%s/%s %s:%s:%s' % (now.month, now.date, now.year, now.hour, now.minute, now.second)

5//2017 1:38:59
None


Replace this line with your code.


#2

Did you mean to write, now.day?


#3

Thanks so much, I got it now.


#4

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