This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
def valida_cei(valor): | |
""" | |
Valida um número de CEI (Cadastro Específico do INSS). | |
Parâmetros: | |
- valor (str|int): Número do CEI a ser validado. | |
Retorna: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
def valida_nit_nb(valor): | |
""" | |
Valida um número de NIT/NB (Número de Identificação do Trabalhador). | |
Parâmetros: | |
- valor (str|int): Número do NIT/NB a ser validado. | |
Retorna: |