Just change the "pass" to continue and it should work just fine.
except (ValueError, ZeroDivisionError): pass #continue insted of pass