My code
# Find the anomaly month in the list below
days = [30, 31, 30, 30, 31, 30, 20, 30, 31, 30, 31, 30]
for i in days:
if i<30:
print(i)
break
Learning course: Learn Python, Advanced Python Programming, & OOPs Concepts in Python
Problem Link: https://www.codechef.com/learn/course/rcpit-python-advanced-and-oops/RCPPY29/problems/PYTHCL120