Posts by Sidney Ramos • 3 points
1 post
-
0
votes1
answer33
viewsQ: What is the logic required to obtain the coins used in my algorithm?
I’m analyzing an algorithm that returns the minimum number of coins to be used from a penny value. def numero_moedas(centavos): if centavos < 1: return 0 moedas = [50, 25, 10, 5, 1] n_moedas = 0…
python-3.xasked Sidney Ramos 3