Posts by MasterZub • 45 points
3 posts
-
1
votes2
answers1152
viewsQ: Square Matrix in Python 3
My code is printing spaces at the beginning and end of the line, and is giving presentation error (URI issue 1557) Does anyone have a good tip? "Matrix values should be formatted in a…
-
0
votes1
answer1866
viewsQ: Decompose the value of a Python banknote
I need to read an integer value and calculate the fewest possible banknotes (ballots) in which the value can be decomposed. Banknotes considered are 100, 50, 20, 10, 5, 2 and 1. And dps print the…
-
3
votes2
answers14794
viewsQ: Identify repeated elements in Python list
The list I made should read the repeated values of a list and show their positions, but it did not work correctly lista = [] listaRepetido = True for i in range(4): lista.append(int(input("Numero:…