Date Time


#1


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)


#2

exercise 5? Your additional code (the month, day and year) is what causes the error. I recommend to remove it. If you really want to keep it, you can make a separate print line, that should suffice, otherwise comment that additional line