18th Jun 2023, 11:47 AM
Thile Dorje Lama
Thile Dorje Lama - avatar
2 Respuestas
+ 4
You can make it by importing calendar module.
18th Jun 2023, 12:03 PM
Hasnain [ACTIVE CHALLENGER]
Hasnain [ACTIVE CHALLENGER] - avatar
+ 4
For example if you want to print calendar of 2023 then you should write your code as: import calendar for i in range(1,12+1): print (calendar.month(2023,i,4))
18th Jun 2023, 12:05 PM
Hasnain [ACTIVE CHALLENGER]
Hasnain [ACTIVE CHALLENGER] - avatar