SyntaxFix
Write A Post
Hire A Developer
Questions
Assuming input[row][col],
rows = len(input) cols = map(len, input) #list of column lengths