Trouble with Date and Time Exercise :(


from datetime import datetime
now =

print'%s/ %s/ %s %s: %s: %s'% (now.month,, now.year, now.hour, now.minute, now.second)


What error message are you getting? I think you need to get rid of the spaces:


and here


ok I will try that

Thank you


It worked yay

Thanks again for helping


No problem, glad to help! :slight_smile:


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