I want return an array as a string in my function.
Example:
return [[1],[1,1],[1,2,1],[1,3,3,1],[1,4,6,4,1]]
should be returned as "[[1],[1,1],[1,2,1],[1,3,3,1],[1,4,6,4,1]]" which is a string. I don't want to use .join() because it removes the [] brackets.
.join()as I have indicated above. I wish you would be helping solving problems instead of closing them simply because they aren't a problem to you.