Please provide the full code you are using...
edit your Post
- leave one blank-line above of your code
- select your code in the Post
- then =click= on the </>-symbol-of-this-editor
Your code will then be in a pre-code state
and you will be able to make/present the proper indentations.
or even better use
if you use the from datetime import datetime
your code would have to look like
from datetime import datetime
now = datetime.now()
print '%s/%s/%s %s:%s:%s' % (
now.month, now.day, now.year, now.hour, now.minute, now.second)