Open this example in the interactive library
Source code
rows = [['name', 'score'], ['Ada', 9], ['Grace']]
print(all(len(row) == len(rows[0]) for row in rows))Sample output
False

Open this example in the interactive library
rows = [['name', 'score'], ['Ada', 9], ['Grace']]
print(all(len(row) == len(rows[0]) for row in rows))False