def ler_parcela():
    parcela = input('+: ')
    try:
        parcela = float(parcela)
    except __HOLE__:
        return 0
    return parcela

# decorator
dataset/ETHPy150Open fluentpython/example-code/attic/control/adder/soma_deco.py/ler_parcela