Date and Time

This exercise was meant to become familiar with using %s to add values to printed string statements. This technique can be very useful for programs that will require input that may be constantly changing depending on the nature of the program. In this example %s is used to enter the current date and time in a format that is familiar and easy to read.

This is the source code for the date and time python script.

This is the source code for the date and time python script.

 

 

 

 

These are the printed results from running the date and time python script.

These are the printed results from running the date and time python script.