Posts by Nâmio Sousa • 9 points
1 post
-
0
votes5
answers11991
viewsA: How to validate and calculate the control digit of a CPF
Below is an example of code taken from the library Bradocs4py: import re from itertools import chain class ValidadorCpf(object): def __validarCpf(self, arg): # type: (CPF) -> bool return…