Python Program to display the month name based on user input using methods by Mahesh Huddar

preview_player
Показать описание
Python Program to display the month name based on user input using methods by Mahesh Huddar

Write a Python program that has a method called print_month_name() which accepts a number in the range of 1 to 12 and prints the month name.

For example, if the user enters month = 1, then display the month name as January.

********************************

4. Like, Share, Subscribe, and Don't forget to press the bell ICON for regular updates
Рекомендации по теме
Комментарии
Автор

Files like:- 01012021.txt, 01022021.txt
In this filename the first 01 represents the date, 02 represents the month ( feb ) and 2021 represents the year.
How to get output like this:-
Jan - 01012021.txt
Feb - 01012021.txt
Mar - 01032021.txt etc..

max__