Posts by kreis • 1 point
1 post
-
-1
votes1
answer31
viewsQ: number of repeated elements of an array
compra = int(input('Valor da compra: R$')) valorPago = int(input('Valor pago: R$')) troco = valorPago - compra dimDisponivel = [100, 50, 25, 10, 5, 2, 1, 0.50, 0.25, 0.10, 0.05, 0.01] print(f'Troco:…