Webeduclick.com
Computer Science Tutorials
import calendar yr = int(input("Enter the year: ")) m = int(input("Enter the month: ")) print(calendar.month(yr,m))
Output: