Exercise: Get the current moment
Call
datetime.now() to capture the moment your program runs and read its year.Premium
Python
Setting up Python environment... Output