Date and Time Lab

In today’s lab, I learned about how to input date and time into python. Python already has the date and time inputted into the system so I just had to import the date and time. “%s” prints the string you have inside the parenthesis in order. I had to put placeholders in between the strings to separate date from year and month, also the time as well. It turns out to be really fun to do this date and time exercise!

date and time 1 date and time 2 date and time 3 date and time 4 date and time 5 date and time 6