Problem with 2/6


I don't know what is wrong with my code. Looking for help.


Sorry is solved. I was wrinting "datetime" all the time... I can't delet post now!!


What was the final answer? I can't figure it out...


I was wrinting:

now =

And it should be:

now =

I was writing "datetime" in the wrong way.


I kept doing the same thing! for some reason my hands wanted to type datatype.
here is how it supposed to look
from datetime import datetime
var = "now"
now =


datetime datetime importación

DateTime.Now print ()

ahora = DateTime.Now ()

print ahora


Is it the gap in the middle because I got this and it worked.

from datetime import datetime
now =
print now


I hope that you know that in python you do not have to declare the variable using var. I am a beginner please correct me if I am wrong.


from datetime import datetime
now =
print now


from datetime import datetime
now =""
print now

It stil asks me if ı store the result of in the now variable. Where am ı making mistake?


from datetime import datetime

print "%s/%s/%s %s:%s:%s"(now.month,, now.year, now.hour, now.minute, now.second)
What's wrong with this code could someone help please it's supposed to give mm/dd/yyyy hh:mm:ss format