Applying coding patterns in br_acidentes.py