diff --git a/crypto_portfolio.py b/crypto_portfolio.py index 782fff4..54df608 100644 --- a/crypto_portfolio.py +++ b/crypto_portfolio.py @@ -49,7 +49,8 @@ portfolio_headers = [ ] # introduzir quantidade de criptomoeda detida -qtd_criptomoeda = float(input(f"Introduza valor de {criptomoeda} detida: ")) +qtd_criptomoeda = float( + input(f"Introduza valor de {criptomoeda} detida: ").replace(",", ".")) # se não houver ficheiro 'dados/{criptomoeda}.csv' criar ficheiro caminho_ficheiro_historico_csv = f'./dados/{criptomoeda}.csv'