-1

I just learnt python for a few weeks. Here is the question in detail: I have a list like this (may change in length):
list=["a","b", "c"] . Based on len(list), I want to create a definition:
def(input_1, input_2, input_3):, I want the arguments to be in the form input_i and the max(i)=len(list). The values of input_i have in the meantime nothing to do with the values in the list.

I am not sure wheather it is possible and how can I do that (or by using alternative ways). Thank you.

0 Answers0