Posts by Emerson • 1 point
1 post
-
0
votes1
answer31
viewsA: number of repeated elements of an array
Your Count() method is counting the number of values in the list, not the ones needed to complete the change. Make a while counter for that. for i in dimDisponivel: count = 0 while troco >= i:…