Created
April 14, 2021 20:55
-
-
Save jorgezanguettin/b104c09976cb4c8aeb7259fe79998c17 to your computer and use it in GitHub Desktop.
tratamento_dados
This file contains hidden or 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
def tratamento_dados(dadoObtido, tipoString): | |
if tipoString == 'Preco': | |
return str(dadoObtido).replace('R$','').strip() | |
else: | |
return str(dadoObtido).replace(';',',').strip() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment