My issue
unable to crack this problem…
My code
days = [30, 31, 30, 30, 31, 30, 20, 30, 31, 30, 31, 30]
for i, day in enumerate(days):
if day not in [30, 31]:
print("Anomaly found in month", i + 1)
break
Learning course: Python with Data structures
Problem Link: CodeChef: Practical coding for everyone