A sensor occasionally sends text instead of a number. Follow the loop through one failed conversion.
Predict the output
Which lines reach the console, and in what order?
total = 0
for cell in ["2", "ERR", "3"]:
try:
total += int(cell)
except ValueError:
print("Skipped")
print(total)