Puzzle 21: Explanation

Let’s learn how the datetime module works in Python.

We'll cover the following

Try it yourself

Try executing the code below to verify the result:

Get hands-on with 1400+ tech skills courses.