write a python program to print the month name based on the given input

preview_player
Показать описание
Hello Programmers, Welcome to my Python Programming Tutorial Channel.

In this video you will learn about how to write a python program to print the month name based on the given input

Python 3 Tutorial
=============================
"""
Write A Python Program To Print The Month Name Based On The Given Input
"""

from calendar import month_name

months = list(month_name)

number = int(input("Enter Month Number : "))

try:
print("Given Month is : ", months[number])
except IndexError:
print("You Entered Invalid Month Number")

Keywords
=============================
#python #python3 #python_assignment #pythonprogramming #pythontutorial #pythonprojects #pythoncourse #pythonbaba #pythonforbeginners #pythonautomation #pythonbasic #pythonbeginners #education #learnpython #pythoncode #pythonfullstack #pythonscripts #
Рекомендации по теме
welcome to shbcf.ru