Python Programs for class 8 SET 4
Python Programs for class 8 SET 4
import calendar
year=int(input("Enter the year :"))
month=int(input("Enter the month :"))
calendar=calendar.month(year,month)
print(calendar)
# 51 WAP to find string
name=input("enter the string :")
L=len(name)
for i in range(L):
print(name[i])