Current_day, current_year, current_month variable vs. now.month,, now.year


I’m wondering if someone could explain the purpose that they extract information to variables (current_year = now.year, etc.) on slide 3 to print out the date, when you can simply just print out now.year,, now.month?


It’s kind of obvious that the author wants to clearly demonstrate what each property of the now object relates to. They want us to see what now.year contains, etc. Don’t take it too literally.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.