print '%s/%s/%s %s:%s:%' % (now.month, now.day, now.year now.hour, now.minute, now.second)
and still got it wrong.
What is wrong with my code?
s on last placeholder.
Check the syntax carefully. There are six values to be output. Therefore, you need six
%s format specifiers, as well as a sufficient number of commas, correctly placed to delimit the six output expressions that are within the parentheses.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.