{{tag>projects cloud club computing virtualization machines VMs AWS Azure GCP}} [[python_club|About the Club]]\\ ==== Python Club Topics - Exercise: Display calendar ==== ==== Exercise: Display a calendar month ==== - Output: Display the calendar month for the given month and year - What you learn from the example: - Importing and using library modules - Using the calendar module - Passing arguments to modules - Take input from the user ==== Solution ==== # Program to display calendar of the given month and year # importing calendar module import calendar # To take month and year input from the user yy = int(input('Enter year: ')) mm = int(input('Enter month: ')) # display the calendar print(calendar.month(yy, mm))