반응형

[python] Print Calendar 

from calendar import*
year = int(input('EnterYear: '))

print(calendar(year, 2, 1, 8, 3))

#2 = 2 characters for days (Mo, Tu, etc)
#1 = 1 line (row) for each week
#8 = 8 rows for each month
#3 = 3 columns for all months of the year.

반응형

+ Recent posts