Get Count of function arguments passed in
I want to allow as many lists as needed to be passed into a function.
But how can I determine how many lists have been passed in?
I expected this to return 3 but it only returned 1.
matrix1 = [[1, -2], [-3, 4],]
matrix2 = [[2, -1], [0, -1]]
matrix3 = [[2, -1], [0, -1]]
# print(add(matrix1, matrix2))