In this Python lesson, you will learn how to use assert. This will be proof that you are truly a Python pro.
This time I’ll show you how to print current date and time with Python.
You will need the datetime module for that.
Let’s calculate your age. And specifically, years, months, and days. Here’s how: