1screen-shot-2016-11-06-at-9-48-23-pm 2screen-shot-2016-11-06-at-9-41-44-pm 3screen-shot-2016-11-06-at-9-42-00-pm 4screen-shot-2016-11-06-at-9-47-38-pm 5screen-shot-2016-11-06-at-9-43-10-pm 6screen-shot-2016-11-06-at-9-43-55-pm

During this lab IĀ had to create a code to show the date and time. I learned how to import the “datetime” to do the lab. Then I wrote a code to show the current date and time “now = datetime.now()” After learning how to print the current hour, minute, second, day, month, and year, I had to write a code to write the date and time in specific format such as mm/dd/yyyy and hh:mm:ss. I wrote the code using the Ā multiple “%s” and after preceded with / Ā for the date and : for the hour for each “%s”. So it should be “‘%s/” and “%s:”

The difficulty I had doing this lab was minor because the coding was simple to understand. The only very small issue I had was remembering to put the / for date and : for time after the %s.