# Use the first mismatch to choose what to inspect; a mismatch does not identify the cause by itself.
expected = [False, True]
actual = [False, False]
for index in range(len(expected)):
print(index, expected[index] == actual[index])
# Retesting means running again after a change; keep before and after evidence.
def allowed(value):
return value > 10 # Your turn: requirement includes 10
for value in [9, 10, 11]:
print(value, allowed(value))