gw basic program to display first five month of a year in different line
Answers
Answered by
0
import calendar
print("\n First five months from calendar")
for month_val in range(1, 6):
print(calendar.month_abbr[month_val], "-", calendar.month_name[month_val])
The above program is in python language
Output will be
Jan - January
Feb - February
Mar - March
Apr - April
May - May
Similar questions