I'm putting together a code in which I take the percentage of the numbers from the npp_pls list and I want to divide the result obtained with the numbers from the mass_seed list but this error is appearing
TypeError: unsupported operand type(s) for /: 'float' and 'list'
my code is as follows:
npp_pls = [10, 80, 5]
mass_seed = [0.1, 1.0, 3.0] #atributo variante
for npp_rep in npp_pls:
npp_rep = npp_rep *0.1
print(npp_rep)
new_results = (npp_rep) / (mass_seed)
print(new_results)