Posts by henriquecb • 13 points
3 posts
-
1
votes1
answer896
viewsQ: Reference and Parameter in Python
I have a Python class that has a function that returns me a triple (3 information together) and I wanted to create 4 different objects because I need 4 different triples. The question is that the…
-
0
votes1
answer248
viewsQ: List empty after python loop
Hello, I have the following code that does this: It will traverse a vector that has a certain set of elements (residuo) with the same ID ([1][1][1][2][2] for example) and then store all elements of…
-
0
votes1
answer57
viewsQ: Use of batteries and passage by reference
Hello, I’m doing a program where I have a stack and I want to reorganize the elements of this. I have created a function that performs this only the original stack is not being modified (it is only…