You have missed one closing parenthesis
companies = [['Google', 'Facebook', 'Apple'],
['Warner Bros. Pictures', '20th Century Fox', 'Universal Pictures'],
['Whole foods', 'Starbucks', 'Walmart']]
for x in range(len(companies)):
for y in range(len(companies[x])):
print("This company name has length of:" + " " + str(len(companies[x][y])))
If you are a beginner and want to know more about Data Science the do check out the Data Science course
Also, check this out for similar question