The example of my problem, so I don't have to put the entire code in here is the following.
def mandatos(nr_votes):
nr_candidates = len(nr_votes)
candidate_with_most_votes = max(nr_votes)
print (nr_candidates)
print (candidate_with_most_votes)
>>> mandatos((10, 8, 6)
>>> 3
>>> 10
This is what I've written on secondary python file to see if these would work on my main file. What I am missing on my main file to keep on using the retrieved data on my function is to know the position of '10' in this example. I know on this case that it's on position 0, just by checking. But the program itself I am building is going to have dozens of entrys in a tuple and after reading the maximum element within the tuple, i'll have to give a mandate? to the highest voted candidate and then knowing the position of the most voted candidate, divide it's votes by the next divisor.