Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
216 B
2
Indexable
Never
import calendar

def print_calendar(year):
    print(calendar.calendar(year))

# Get the year from the user
year = int(input('Enter the year: '))

# Print the calendar for the given year
print_calendar(year)
Leave a Comment