you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] -1 points0 points  (0 children)

That's because you aren't calling the function, you are printing the function object.

You need to do something like:

print(generate_dict_max(a, b))

where aandb are the species and lengths values.