Posts by caioclra • 39 points
4 posts
-
1
votes2
answers51
viewsA: Product between vectors
Hello, From what I understand, the problem lies in trying to directly multiply the vectors. As such vectors are represented by lists, this operation is not possible directly. A possible output is…
-
1
votes2
answers100
viewsA: Dataframe row and column organization
Third Edit: I believe that the code can now process the data in the expected way, that is, with automation of the generation of the lists and with correct inclusion of each "Mod", regardless of the…
-
-1
votes4
answers169
viewsA: Python - Return all cities of a.txt file in a percentage range
I thought of a possible solution, but that only works if there are no blank lines in the imported text file: opcao = input(''' Escolha uma das opções de intervalo de isolamento (A, B ou C) A) menor…
-
2
votes4
answers669
viewsA: How to access indexes backwards within a list?
I thought of a very simple solution, consistent with the creation of a new list, with the reordering of the notes from the chord informed by the user, through the splitting of the original list:…