Date and Time Grand Finale Error


I did
print '%s/%s/%s %s:%s:%' % (now.month,, now.year now.hour, now.minute, now.second)
and still got it wrong.

What is wrong with my code?

One error:

Missing s on last placeholder.


@kenna2003 ,

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.