#31th →4/31th #Feb→ ok co=1 for month in range(12): for day in range(30): if day[0]+day[1]==month: co+=1 print(co)