Posted: February 6, 2022 | by Michael Bright
Using calendar month_name:
month_name
import calendar print calendar.month_name[2] Output February
Found this article interesting? Follow Brightwhiz on Facebook, Twitter, and YouTube to read and watch more content we post.
Get the Current Year in Python
How to get Current Date and Time in Python