I don't understand this


#1

Why is this incorrect?
from datetime import datetime

print datetime.now()

And this is correct?
from datetime import datetime

now = datetime.now()
print datetime.now()

When the results are EXACTLY the same?


#2

because the exercise will validate the variable now is present.


#4

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