Confused about Date/Time library


#1

In the instructions, we set now.year equal to a variable named "current_year". but why can't we print current_year. When I tried to do so, it resulted this:

Can you please explain what's happening?


#2

Where's your code and the error you got?