Please help


#1

I need help on date and time 2. This is my code:
from datetime import datetime
now = 4
print datetime.now(4)


#2

datetime.now() does not take any parameters. Remove 4 from it.


#3

now is not equal to four, it is equal to datetime.now. Remove the 4 from it

now = datetime.now()
print now


#4

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