At the moment, I'm just testing this out and will add it to my program once I understand it. I'd just like to know how to find the length of a list inside a list.
I've tried:
l = [["1","2","3"],["1","2","3","4"],["1","2","3","4","5"]]
[print(len(x)) for x in l[0]]
But it just prints 1 three times. I just need it to print (or return) the lengths of each list inside l
.