程序逻辑:
ans
i
i > 列表words的项目数
words第i项的字符数
ans的字符数
列表words共6项,内容依次为:Cat、Elephant、Tiger、Whale、Butterfly、Dolphin
Cat
Elephant
Tiger
Whale
Butterfly
Dolphin