Help me in solving PYTH106 problem

My issue

days = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]
for item in days:
if item != 30 and item != 31:
break
print(item)

My code

# Find the anomaly month in the list below

days = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]
for item in days:
    if item != 30 and item != 31:
        break
    print(item)

Learning course: Learn Python
Problem Link: CodeChef: Practical coding for everyone

@mehak07
U have to do it like this

# Solution as follows

days = [30, 31, 30, 30, 31, 30, 20, 30, 31, 30, 31, 30]

for day in days:
    if day < 30:
        print(day)
        break