I have written a python script which calls a function. This function takes 7 list as parameters inside the function, something like this:
def WorkDetails(link, A
Usually, passing more than 3 parameters to a function is not recommended. This is not specific to python but to software design in general. You can read more about how to reduce the number of parameters passed to a function here.
Following the perspective of previous answers, but from a more general point of view I would like to add that there are several ways to make your code more readable:
link
, specific_list
, list_type
. By doing this you can detect within your WorkDetails
function which list you passed with list_type
and add the correct elements to that specific list
) Hope this help.