import calendar
months = list(calendar.month_name)[1:]
print("\n" + "=" * 40)
print("        MONTHS OF THE YEAR")
print("=" * 40)
for i, month in enumerate(months, start=1):
    print(f"  {i:2d}. {month}")
print("-" * 40)
print("\nAll months:")
print(", ".join(months))
# Display abbreviations
abbr = list(calendar.month_abbr)[1:]
print("\nAbbreviations:")
print(", ".join(abbr))
print(f"\nTotal months: {len(months)}")
print("=" * 40)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: