Question: Write a Python program current _ date. py that prints out the current weekday and time in this format: Saturday, 0 4 : 3 5

Write a Python program current_date. py that prints out the current weekday and time in this format:
Saturday, 04:35PM
The time module contains a function strftime ("string format time") that will format the current time. After you import the time module, this statement will print the current time in a different format
print(time.strftime ("%b %d,%H:@M)
Get that statement working first. Then use the online documentation to get the format as required above.
 Write a Python program current_date. py that prints out the current

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!