Posts by José Carlos • 39 points
3 posts
-
0
votes1
answer75
viewsA: How to make string substitutions from large-scale tuple indexes?
I got it, guys. I used the individual substitution principle texto_lista[1] = lista_idx[1][2] as in the question, but inside the loop for, without indicating the order index of the tuple, since they…
-
0
votes1
answer75
viewsQ: How to make string substitutions from large-scale tuple indexes?
I need to find the index of some words in a string, store these indexes and, from them, perform other substitutions based on tuple indexes, which signal which words should be replaced and where they…
-
1
votes2
answers126
viewsQ: How to create nested and counting dictionaries from lists/tuples?
I have lists of sublists and tuples inside. I need to create a dictionary whose key is the car name and the value is a dictionary nested with the car model count. My lists are like this (it’s just a…